Skip to content

Commit

Permalink
set clusterdomain value in _coredns.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
vardhaman-surana committed Dec 16, 2024
1 parent fa41bde commit bbefac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart/templates/_coredns.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Corefile: |-
{{- if .Values.networking.advanced.proxyKubelets.byHostname }}
rewrite name regex .*\.nodes\.vcluster\.com kubernetes.default.svc.cluster.local
{{- end }}
kubernetes cluster.local in-addr.arpa ip6.arpa {
kubernetes {{- if .Values.networking.advanced.clusterDomain }} {{ .Values.networking.advanced.clusterDomain }} {{- end }} cluster.local in-addr.arpa ip6.arpa {
{{- if .Values.controlPlane.coredns.embedded }}
kubeconfig /data/vcluster/admin.conf
{{- end }}
Expand Down

0 comments on commit bbefac3

Please sign in to comment.