diff --git a/config/helm/aws-node-termination-handler/templates/deployment.yaml b/config/helm/aws-node-termination-handler/templates/deployment.yaml index ca9a9e6b..3aa04c5c 100644 --- a/config/helm/aws-node-termination-handler/templates/deployment.yaml +++ b/config/helm/aws-node-termination-handler/templates/deployment.yaml @@ -26,12 +26,12 @@ spec: {{ $key }}: {{ $value | quote }} {{- end }} spec: + {{- if and .Values.webhookTemplateConfigMapName .Values.webhookTemplateConfigMapKey }} volumes: - {{- if and .Values.webhookTemplateConfigMapName .Values.webhookTemplateConfigMapKey }} - name: "webhook-template" configMap: name: {{ .Values.webhookTemplateConfigMapName }} - {{- end }} + {{- end }} priorityClassName: {{ .Values.priorityClassName | quote }} affinity: {{- with .Values.affinity }}