mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
Set dnsPolicy to ClusterFirstWithHostNet when hostNetwork is true (#4843)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
045acc724b
commit
818aa7aeb1
@@ -24,6 +24,7 @@ spec:
|
||||
serviceAccountName: ingress-nginx
|
||||
{% if ingress_nginx_host_network %}
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
{% endif %}
|
||||
{% if ingress_nginx_nodeselector %}
|
||||
nodeSelector:
|
||||
|
||||
Reference in New Issue
Block a user