|
@@ -2,9 +2,11 @@
|
|
|
DNS Configuration
|
|
|
*/}}
|
|
|
{{- define "common.networking.dnsConfiguration" }}
|
|
|
+{{ if .Values.dnsPolicy }}
|
|
|
dnsPolicy: {{ .Values.dnsPolicy }}
|
|
|
-{{- if .Values.dnsConfig }}
|
|
|
+{{ end }}
|
|
|
+{{ if .Values.dnsConfig }}
|
|
|
dnsConfig:
|
|
|
- {{- toYaml .Values.dnsConfig | nindent 2 }}
|
|
|
-{{- end }}
|
|
|
+ {{ toYaml .Values.dnsConfig | nindent 2 }}
|
|
|
+{{ end }}
|
|
|
{{- end }}
|