mirror of
https://github.com/truenas/charts.git
synced 2026-04-23 18:10:06 +08:00
Don't scope dns values by referencing .values directly
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user