From bac6ff61d24ff9ef42a0a1c67714b59adc1ca508 Mon Sep 17 00:00:00 2001 From: Camila Macedo <7708031+camilamacedo86@users.noreply.github.com> Date: Fri, 13 Dec 2024 22:38:53 +0000 Subject: [PATCH] :warning: remove prometheus manifests We are not using those manifests and supporting this option. Therefore, we should remove them since they are not configured to use certificates and is with insecureSkipVerify: false promoting an unsecure setup by default --- config/base/prometheus/kustomization.yaml | 2 -- config/base/prometheus/monitor.yaml | 19 ------------------- 2 files changed, 21 deletions(-) delete mode 100644 config/base/prometheus/kustomization.yaml delete mode 100644 config/base/prometheus/monitor.yaml 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