Skip to content

Commit

Permalink
🐛 🔥 only add the dns config not the entire chart....
Browse files Browse the repository at this point in the history
  • Loading branch information
danquack committed Feb 15, 2022
1 parent 416da0b commit ab3f337
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ spec:
{{- end }}
hostNetwork: {{ .Values.useHostNetwork }}
dnsPolicy: {{ default .Values.linuxDnsPolicy .Values.dnsPolicy }}
{{- if .Values.dnsConfig }}
{{- with .Values.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 10 }}
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: aws-node-termination-handler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ spec:
{{- end }}
hostNetwork: false
dnsPolicy: {{ default .Values.windowsDnsPolicy .Values.dnsPolicy }}
{{- if .Values.dnsConfig }}
{{- with .Values.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 10 }}
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: aws-node-termination-handler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ spec:
{{- with .Values.terminationGracePeriodSeconds }}
terminationGracePeriodSeconds: {{ . }}
{{- end }}
{{- if .Values.dnsConfig }}
{{- with .Values.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 10 }}
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: aws-node-termination-handler
Expand Down

0 comments on commit ab3f337

Please sign in to comment.