diff --git a/config/base/kustomization.yaml b/config/base/kustomization.yaml index c41b5a169..b475608ee 100644 --- a/config/base/kustomization.yaml +++ b/config/base/kustomization.yaml @@ -18,5 +18,4 @@ resources: - crd - rbac - manager -# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'. -#- ../prometheus + diff --git a/config/base/prometheus/kustomization.yaml b/config/base/prometheus/kustomization.yaml deleted file mode 100644 index ed137168a..000000000 --- a/config/base/prometheus/kustomization.yaml +++ /dev/null @@ -1,2 +0,0 @@ -resources: -- monitor.yaml diff --git a/config/base/prometheus/monitor.yaml b/config/base/prometheus/monitor.yaml deleted file mode 100644 index ccdc6341d..000000000 --- a/config/base/prometheus/monitor.yaml +++ /dev/null @@ -1,19 +0,0 @@ -# Prometheus Monitor Service (Metrics) -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - labels: - control-plane: operator-controller-controller-manager - name: controller-manager-metrics-monitor - namespace: system -spec: - endpoints: - - path: /metrics - port: https - scheme: https - bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token - tlsConfig: - insecureSkipVerify: true - selector: - matchLabels: - control-plane: operator-controller-controller-manager