Commit 8236d934 authored by Waqar Ahmed's avatar Waqar Ahmed

Don't scope dns values by referencing .values directly

parent 8b338dcb
......@@ -2,11 +2,11 @@
DNS Configuration
*/}}
{{- define "common.networking.dnsConfiguration" }}
{{ if .Values.dnsPolicy }}
dnsPolicy: {{ .Values.dnsPolicy }}
{{ if .dnsPolicy }}
dnsPolicy: {{ .dnsPolicy }}
{{ end }}
{{ if .Values.dnsConfig }}
{{ if .dnsConfig }}
dnsConfig:
{{ toYaml .Values.dnsConfig | nindent 2 }}
{{ toYaml .dnsConfig | nindent 2 }}
{{ end }}
{{- end }}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment