Add selectable dns policy for kube-router (#6586)

This commit is contained in:
Maxim Pogozhiy
2020-09-04 21:53:41 +10:00
committed by GitHub
parent f1566cb8c2
commit 0553814b4f
3 changed files with 7 additions and 1 deletions

View File

@@ -109,7 +109,7 @@ spec:
protocol: TCP
{% endif %}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
dnsPolicy: {{ kube_router_dns_policy }}
{% if kube_router_enable_dsr %}
hostIPC: true
hostPID: true