Skip to content

Optionally serve metrics over TLS #2617

@npapapietro

Description

@npapapietro

Is your feature request related to a problem? Please describe.
Running the operator in environments with very strict TLS or mTLS rules (enforced by Istio for example), there are some edge cases that aren't configurable for TLS. The CRDs are pretty well covered to setup connections to Grafana and/or Datasources that respect mTLS.

There are two endpoints on the controller that need to expose some way to configure. The health probe and the metrics endpoint

(If applicable)If your feature request solves a bug please provide a link to the community issue

Describe the solution you'd like
Expose some more cli flags for pass in certs and boolean flag on TLS mode for health and metrics endpoints. Add these to the helm chart (enable ServiceMonitor tlsconfig)

Describe alternatives you've considered
Currently I just flag off metrics and remove probes, but in large environments or fast moving environments no metrics on a service is a blind spot.

Additional context
#2549

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage/acceptedIndicates an issue or PR is ready to be actively worked on.
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions