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

Commit ae2f65a

Browse files
authored
Merge pull request #1877 from kfr2/indent-KubeDns.AdditionalZoneCoreDNSConfig
Add proper indentation to additional zone CoreDNS config
2 parents cd68fa8 + 6d5ccb2 commit ae2f65a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

builtin/files/cluster.yaml.tmpl

+1
Original file line numberDiff line numberDiff line change
@@ -1378,6 +1378,7 @@ kubeDns:
13781378
# Allows addition of extra configuration into CoreDNS config map's root zone.
13791379
# extraCoreDNSConfig: |
13801380
# rewrite name substring demo.app.org app.default.svc.cluster.local
1381+
#
13811382
# This configuration is injected into the CoreDNS config map after the root
13821383
# zone (".") and can be used to add configuration for additional zones.
13831384
# additionalZoneCoreDNSConfig: |

builtin/files/userdata/cloud-config-controller

+1-1
Original file line numberDiff line numberDiff line change
@@ -3905,7 +3905,7 @@ write_files:
39053905
loadbalance
39063906
}
39073907
{{- if and (eq .KubeDns.Provider "coredns") .KubeDns.AdditionalZoneCoreDNSConfig }}
3908-
{{ .KubeDns.AdditionalZoneCoreDNSConfig }}
3908+
{{ .KubeDns.AdditionalZoneCoreDNSConfig | indent 12 }}
39093909
{{- end }}
39103910
{{- else }}
39113911
- path: /srv/kubernetes/manifests/kube-dns-sa.yaml

0 commit comments

Comments
 (0)