Skip to content

Commit 0a250e7

Browse files
authored
🐛 🔥 only add the dns config not the entire chart.... (#586)
1 parent 416da0b commit 0a250e7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

config/helm/aws-node-termination-handler/templates/daemonset.linux.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ spec:
4646
{{- end }}
4747
hostNetwork: {{ .Values.useHostNetwork }}
4848
dnsPolicy: {{ default .Values.linuxDnsPolicy .Values.dnsPolicy }}
49-
{{- if .Values.dnsConfig }}
49+
{{- with .Values.dnsConfig }}
5050
dnsConfig:
51-
{{- toYaml . | nindent 10 }}
51+
{{- toYaml . | nindent 8 }}
5252
{{- end }}
5353
containers:
5454
- name: aws-node-termination-handler

config/helm/aws-node-termination-handler/templates/daemonset.windows.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ spec:
4646
{{- end }}
4747
hostNetwork: false
4848
dnsPolicy: {{ default .Values.windowsDnsPolicy .Values.dnsPolicy }}
49-
{{- if .Values.dnsConfig }}
49+
{{- with .Values.dnsConfig }}
5050
dnsConfig:
51-
{{- toYaml . | nindent 10 }}
51+
{{- toYaml . | nindent 8 }}
5252
{{- end }}
5353
containers:
5454
- name: aws-node-termination-handler

config/helm/aws-node-termination-handler/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ spec:
4343
{{- with .Values.terminationGracePeriodSeconds }}
4444
terminationGracePeriodSeconds: {{ . }}
4545
{{- end }}
46-
{{- if .Values.dnsConfig }}
46+
{{- with .Values.dnsConfig }}
4747
dnsConfig:
48-
{{- toYaml . | nindent 10 }}
48+
{{- toYaml . | nindent 8 }}
4949
{{- end }}
5050
containers:
5151
- name: aws-node-termination-handler

0 commit comments

Comments
 (0)