Skip to content

Commit de6a813

Browse files
(fix) Removing Unused and Insecure Manifests for Prometheus since its integration is not supported (#1535)
We are not using these manifests or supporting this option. Therefore, they should be removed, as they are not configured to use certificates and have insecureSkipVerify: false, which promotes an insecure setup by default. If we want enable this option then we need configure it with: ```yaml 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: false ca: secret: name: olmv1-cert key: ca.crt cert: secret: name: olmv1-cert key: tls.cert keySecret: name: olmv1-cert key: tls.key selector: matchLabels: control-plane: operator-controller-controller-manager ```
1 parent 10f0f77 commit de6a813

File tree

3 files changed

+1
-23
lines changed

3 files changed

+1
-23
lines changed

config/base/kustomization.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ resources:
1818
- crd
1919
- rbac
2020
- manager
21-
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
22-
#- ../prometheus
21+

config/base/prometheus/kustomization.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

config/base/prometheus/monitor.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)