From 384e09cc0d1bbe750cb05be9db653c25daa7b2fa Mon Sep 17 00:00:00 2001 From: wkbrd <30599409+wkbrd@users.noreply.github.com> Date: Thu, 9 May 2024 16:06:06 -0400 Subject: [PATCH] Update deployment.yaml --- templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 0226c79..dff79cb 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -46,8 +46,8 @@ spec: {{- if .Values.priorityClassName }} priorityClassName: "{{ .Values.priorityClassName }}" {{- end }} - {{- if .Values.podSecurityContext.enabled }} - securityContext: {{ omit .Values.podSecurityContext "enabled" | toYaml | nindent 8 }} + {{- if .Values.securityContext.enabled }} + securityContext: {{ omit .Values.securityContext "enabled" | toYaml | nindent 8 }} {{- end }} {{- with .Values.initContainers }} initContainers: