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 @@ ...@@ -2,11 +2,11 @@
DNS Configuration DNS Configuration
*/}} */}}
{{- define "common.networking.dnsConfiguration" }} {{- define "common.networking.dnsConfiguration" }}
{{ if .Values.dnsPolicy }} {{ if .dnsPolicy }}
dnsPolicy: {{ .Values.dnsPolicy }} dnsPolicy: {{ .dnsPolicy }}
{{ end }} {{ end }}
{{ if .Values.dnsConfig }} {{ if .dnsConfig }}
dnsConfig: dnsConfig:
{{ toYaml .Values.dnsConfig | nindent 2 }} {{ toYaml .dnsConfig | nindent 2 }}
{{ end }} {{ end }}
{{- 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