Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 509: Make metrics server port configurable
Adds a flag to the controller to support configuring a non-default port for the metrics collection. This resolves an issue where running secretgen-controller with hostNetwork=true may lead to port conflicts on the node. Testing Done: - Built and ensured passing tests locally - Deployed in a Kind cluster and loaded Docker image onto cluster - Edited Deployment to add new container arg: -metrics-bind-address=:8093 - Confirmed new secretgen-controller Pod logged the change: ... "msg":"Metrics server is starting to listen","addr":":8093"} ... Signed-off-by: Doug Cook <[email protected]>
- Loading branch information