From c82507fcb058a66f1c12d2d4695df71af7c943bc Mon Sep 17 00:00:00 2001 From: Dean Roehrich Date: Fri, 22 Nov 2024 11:38:05 -0600 Subject: [PATCH] Remove a wayward prometheus ServiceMonitor (#235) The real ServiceMonitor is in config/prometheus. Signed-off-by: Dean Roehrich --- config/rbac/prometheus/kustomization.yaml | 2 -- config/rbac/prometheus/monitor.yaml | 20 -------------------- 2 files changed, 22 deletions(-) delete mode 100644 config/rbac/prometheus/kustomization.yaml delete mode 100644 config/rbac/prometheus/monitor.yaml diff --git a/config/rbac/prometheus/kustomization.yaml b/config/rbac/prometheus/kustomization.yaml deleted file mode 100644 index ed137168..00000000 --- a/config/rbac/prometheus/kustomization.yaml +++ /dev/null @@ -1,2 +0,0 @@ -resources: -- monitor.yaml diff --git a/config/rbac/prometheus/monitor.yaml b/config/rbac/prometheus/monitor.yaml deleted file mode 100644 index d19136ae..00000000 --- a/config/rbac/prometheus/monitor.yaml +++ /dev/null @@ -1,20 +0,0 @@ - -# Prometheus Monitor Service (Metrics) -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - labels: - control-plane: 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: controller-manager