From ab3f337d51a6dc2cdf059abb9b7b23ca3c667357 Mon Sep 17 00:00:00 2001 From: Daniel Quackenbush <25692880+danquack@users.noreply.github.com> Date: Tue, 15 Feb 2022 18:01:13 -0500 Subject: [PATCH] :bug: :fire: only add the dns config not the entire chart.... --- .../templates/daemonset.linux.yaml | 4 ++-- .../templates/daemonset.windows.yaml | 4 ++-- .../aws-node-termination-handler/templates/deployment.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/helm/aws-node-termination-handler/templates/daemonset.linux.yaml b/config/helm/aws-node-termination-handler/templates/daemonset.linux.yaml index 893c3b80..1e250e70 100644 --- a/config/helm/aws-node-termination-handler/templates/daemonset.linux.yaml +++ b/config/helm/aws-node-termination-handler/templates/daemonset.linux.yaml @@ -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 diff --git a/config/helm/aws-node-termination-handler/templates/daemonset.windows.yaml b/config/helm/aws-node-termination-handler/templates/daemonset.windows.yaml index 815b86f9..f4e2935e 100644 --- a/config/helm/aws-node-termination-handler/templates/daemonset.windows.yaml +++ b/config/helm/aws-node-termination-handler/templates/daemonset.windows.yaml @@ -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 diff --git a/config/helm/aws-node-termination-handler/templates/deployment.yaml b/config/helm/aws-node-termination-handler/templates/deployment.yaml index 76ec1052..0fdd2961 100644 --- a/config/helm/aws-node-termination-handler/templates/deployment.yaml +++ b/config/helm/aws-node-termination-handler/templates/deployment.yaml @@ -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