From 39dce3c8f30182cbdf1832d9406f681695a19428 Mon Sep 17 00:00:00 2001 From: Paul McEnery Date: Tue, 26 Jul 2022 15:08:44 +0100 Subject: [PATCH] Remove runAsUser in helm template for windows node --- .../templates/daemonset.windows.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f021db8b..ec5be64f 100644 --- a/config/helm/aws-node-termination-handler/templates/daemonset.windows.yaml +++ b/config/helm/aws-node-termination-handler/templates/daemonset.windows.yaml @@ -52,7 +52,7 @@ spec: {{- end }} containers: - name: aws-node-termination-handler - {{- with .Values.securityContext }} + {{- with unset .Values.securityContext "runAsUser" }} securityContext: {{- toYaml . | nindent 12 }} {{- end }}