Skip to content

Have metrics by default #307

@davidkarlsen

Description

@davidkarlsen

Is your feature request related to a problem? Please describe.

Enable metrics by default, enable them secure.
Add to svc monitor: https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.6.1/#gov2-gov3-ansiblev1-helmv1-add-scheme-token-and-tls-config-to-the-prometheus-servicemonitor-metrics-endpoint

  • bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
  • scheme: https

add rbac, see: https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/metrics/filters#WithAuthenticationAndAuthorization

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
N/A

Additional context
Fell apart when the rbac proxy was dropped.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions