Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit 3240cf3

Browse files
authored
Merge pull request #1900 from dominicgunn/v0.14.x-fix-templating-issue
[v0.14.x] CoreDNS Local Templating issue.
2 parents d14e2fb + c6213c4 commit 3240cf3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

builtin/files/userdata/cloud-config-controller

+4-4
Original file line numberDiff line numberDiff line change
@@ -1057,14 +1057,14 @@ write_files:
10571057
"${mfdir}/kube-dns-autoscaler-de.yaml" \
10581058
"${mfdir}/kube-dns-de.yaml"
10591059
{{- end }}
1060-
{{ if .KubeDns.NodeLocalResolver -}}
1061-
{{ if .KubeDns.dnsmasq.CoreDNSLocal.Enabled -}}
1060+
{{- if .KubeDns.NodeLocalResolver }}
1061+
{{- if .KubeDns.dnsmasq.CoreDNSLocal.Enabled }}
10621062
deploy "${mfdir}/dnsmasq-node-coredns-local.yaml"
10631063
{{- else }}
10641064
remove "${mfdir}/dnsmasq-node-coredns-local.yaml"
1065-
{{ end -}}
1065+
{{- end }}
10661066
deploy "${mfdir}/dnsmasq-node-ds.yaml"
1067-
{{ end -}}
1067+
{{- end }}
10681068
forceapply "${mfdir}/kube-dns-pdb.yaml"
10691069

10701070
{{ if .Addons.MetricsServer.Enabled -}}

0 commit comments

Comments
 (0)