-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 (fix) Removing Unused and Insecure Manifests for Prometheus #1524
base: main
Are you sure you want to change the base?
🐛 (fix) Removing Unused and Insecure Manifests for Prometheus #1524
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
bac6ff6
to
3b00bd8
Compare
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 ```
3b00bd8
to
85f94da
Compare
/hold Just to ensure that we all convey |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1524 +/- ##
===========================================
- Coverage 74.68% 57.99% -16.70%
===========================================
Files 42 42
Lines 3271 3271
===========================================
- Hits 2443 1897 -546
- Misses 652 1270 +618
+ Partials 176 104 -72
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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: