diff --git a/charts/openmetadata/templates/cron-deploy-pipelines.yaml b/charts/openmetadata/templates/cron-deploy-pipelines.yaml index 6622fd0..f18619f 100644 --- a/charts/openmetadata/templates/cron-deploy-pipelines.yaml +++ b/charts/openmetadata/templates/cron-deploy-pipelines.yaml @@ -36,14 +36,14 @@ spec: {{- if not (.Values.automountServiceAccountToken) }} automountServiceAccountToken: {{ .Values.automountServiceAccountToken }} {{- end }} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} + securityContext: + {{- toYaml .Values.podSecurityContext | nindent 12 }} volumes: - {{- include "tplvalues.render" (dict "value" .Values.extraVolumes "context" $) | nindent 10 }} + {{- include "tplvalues.render" (dict "value" .Values.extraVolumes "context" $) | nindent 12 }} containers: - name: cron-deploy-pipelines securityContext: - {{- toYaml .Values.podSecurityContext | nindent 14 }} + {{- toYaml .Values.securityContext | nindent 14 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} volumeMounts: diff --git a/charts/openmetadata/templates/cron-reindex.yaml b/charts/openmetadata/templates/cron-reindex.yaml index 8e3ae11..e6ceb71 100644 --- a/charts/openmetadata/templates/cron-reindex.yaml +++ b/charts/openmetadata/templates/cron-reindex.yaml @@ -38,6 +38,8 @@ spec: {{- end }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} + volumes: + {{- include "tplvalues.render" (dict "value" .Values.extraVolumes "context" $) | nindent 12 }} containers: - name: cron-reindex securityContext: