Add hostname value to override pod's hostname (#7386)

This commit is contained in:
kayrus 2021-08-09 15:45:31 +02:00 committed by GitHub
parent af745bd97d
commit e53a11e839
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View file

@ -49,6 +49,9 @@ controller:
# Optionally customize the pod dnsConfig.
dnsConfig: {}
# Optionally customize the pod hostname.
hostname: {}
# Optionally change this to ClusterFirstWithHostNet in case you have 'hostNetwork: true'.
# By default, while using host network, name resolution uses the host's DNS. If you wish nginx-controller
# to keep resolving names inside the k8s network, use ClusterFirstWithHostNet.