Set dns policy to ClusterFirstWithHostNet

Signed-off-by: Lee Briggs <[email protected]>
This commit is contained in:
Lee Briggs committed 2025-01-31 14:53:05 -08:00
1 parent 3e708bddc5
commit e0963cb117
2 files changed
+1 -2

No files matched your search

@@ -26,7 +26,7 @@ spec:
spec:
{{- if .Values.operatorConfig.hostNetwork.enabled }}
hostNetwork: true
dnsPolicy: {{ .Values.operatorConfig.hostNetwork.dnsPolicy }}
dnsPolicy: ClusterFirstWithHostNet
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
@@ -45,7 +45,6 @@ operatorConfig:
# Optional host network configuration. Likely only needed for public Kubernetes nodes
hostNetwork:
enabled: false
dnsPolicy: ClusterFirstWithHostNet # Common options: ClusterFirst, ClusterFirstWithHostNet, Default
image:
# Repository defaults to DockerHub, but images are also synced to ghcr.io/tailscale/k8s-operator.