Add a flag to specify address to bind the healthz server (#7541)

* Add a flag to specify address to bind the healthz server

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>

* Add healthz host to the helm chart

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>

* Apply suggestions from code review

Co-authored-by: Ricardo Katz <rikatz@users.noreply.github.com>

Co-authored-by: Ricardo Katz <rikatz@users.noreply.github.com>
This commit is contained in:
Maksim Nabokikh 2021-08-26 16:13:23 +04:00 committed by GitHub
parent 66c2a716da
commit 4c4013904a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 19 additions and 4 deletions

View file

@ -311,6 +311,11 @@ controller:
# the healthz-port parameter are forwarded internally to this path.
healthCheckPath: "/healthz"
# Address to bind the health check endpoint.
# It is better to set this option to the internal node address
# if the ingress nginx controller is running in the hostNetwork: true mode.
healthCheckHost: ""
## Annotations to be added to controller pods
##
podAnnotations: {}