Skip to content
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 since its integration is not supported #1535

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

camilamacedo86
Copy link
Contributor

We are not using these manifests or supporting this option. Therefore, they should be removed. They are not configured to use certificates and have insecureSkipVerify: false, which promotes an insecure setup by default.

As we discussed in the Community Meeting we agreed in remove those

… integration is not supported

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
```
@camilamacedo86 camilamacedo86 requested a review from a team as a code owner December 23, 2024 19:16
@camilamacedo86 camilamacedo86 changed the title (fix) Removing Unused and Insecure Manifests for Prometheus since its integration is not supported 🐛 (fix) Removing Unused and Insecure Manifests for Prometheus since its integration is not supported Dec 23, 2024
Copy link

netlify bot commented Dec 23, 2024

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 0f0da4c
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/6769b6fa989e400008d8eb40
😎 Deploy Preview https://deploy-preview-1535--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.25%. Comparing base (10f0f77) to head (0f0da4c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1535   +/-   ##
=======================================
  Coverage   74.25%   74.25%           
=======================================
  Files          42       42           
  Lines        3329     3329           
=======================================
  Hits         2472     2472           
  Misses        676      676           
  Partials      181      181           
Flag Coverage Δ
e2e 52.11% <ø> (ø)
unit 56.98% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant