ansh0014 opened a new pull request, #6969: URL: https://github.com/apache/camel-k/pull/6969
Fix #6779 This PR secures the operator `/metrics` endpoint by default: - Sets `SecureServing: true` by default in controller-runtime manager options. - Adds `--metrics-secure` (`KAMEL_OPERATOR_METRICS_SECURE`, default `true`, can be set to `false` to restore HTTP). - Adds `--metrics-auth` (`KAMEL_OPERATOR_METRICS_AUTH`, default `false`) for Kubernetes token authentication/authorization. - Adds `--metrics-cert-dir` (`KAMEL_OPERATOR_METRICS_CERT_DIR`) for mounted TLS certificates. - Adds necessary RBAC manifests (metrics-reader role, token/subject access reviews) and updates Helm templates and PodMonitor. - Updates documentation and e2e metrics test for HTTP proxy compatibility. Unit tests, build, and linter checks pass locally. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
