bitnami-labs / sealed-secrets

A Kubernetes controller and tool for one-way encrypted Secrets

Home Page:https://sealed-secrets.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose controller metrics in an isolated port

alvneiayu opened this issue · comments

Describe the issue

Right now, the Sealed Secrets controller is exposing its metrics in the same port as the rest of its endpoints. To allow further customization of the metrics endpoint, it should be exposed on a different port.

Pros: The users will be able to configure the metrics (which port to expose the metrics, if you want to expose it or not, etc)

Cons: The programs already consuming the metric endpoint must be reconfigured to consume the new port.

Expected behavior

The controller exposes the /metrics endpoint on a different port than the rest of its endpoints