operator-sdk
operator-sdk copied to clipboard
Using kubebuilder's built-it mechanizm to secure /metrics instead of using kube-rbac-proxy in helm-operator
Feature Request
Describe the problem you need a feature to resolve.
Hi Team. In helm-operator code the /metrics endpoint is exposed and is using 3rd party component kube-rbac-proxy to secure access to it. The image is being used is being currently hosted on gcr.io. There is a plan to retire container registry on GCP so image will not be available from March 18, 2025
Describe the solution you'd like.
The proposed solution is to migrate to built-in authn/authz mechanism added to kubebuilder WithAuthenticationAndAuthorization. More details are described on the kubebuilder's page:
https://book.kubebuilder.io/reference/metrics
/language helm