From 93ea655866f10f67a224a7b4fd5fb123a12abb65 Mon Sep 17 00:00:00 2001 From: wkbrd <30599409+wkbrd@users.noreply.github.com> Date: Thu, 9 May 2024 08:08:15 -0400 Subject: [PATCH] Update cronjob.yaml --- templates/cronjob.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/cronjob.yaml b/templates/cronjob.yaml index 780cf87..c90ab15 100644 --- a/templates/cronjob.yaml +++ b/templates/cronjob.yaml @@ -37,8 +37,8 @@ spec: {{- if .Values.priorityClassName }} priorityClassName: "{{ .Values.priorityClassName }}" {{- end }} - {{- if .Values.securityContext.enabled }} - securityContext: {{ omit .Values.securityContext "enabled" | toYaml | nindent 12 }} + {{- if .Values.podSecurityContext.enabled }} + securityContext: {{ omit .Values.podSecurityContext "enabled" | toYaml | nindent 12 }} {{- end }} containers: - name: {{ .Chart.Name }}