Skip to content

Commit

Permalink
Fix securityContext settings in job template
Browse files Browse the repository at this point in the history
Intends needed to be fixed and containerSecurityContext value settings are used
  • Loading branch information
andreasgeisslerdt authored Jul 2, 2024
1 parent bd8e258 commit c04c413
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contrib/charts/keycloak-config-cli/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- with .Values.resources }}
resources:
{{- toYaml . | nindent 10 }}
{{- toYaml . | nindent 12 }}
{{- end }}
env:
{{- range $name, $value := .Values.env }}
Expand All @@ -55,9 +55,9 @@ spec:
name: "{{ tpl .Values.existingSecret . }}"
key: "{{ .Values.existingSecretKey }}"
{{- end }}
{{- with .Values.securityContext }}
{{- with .Values.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: config
Expand All @@ -83,4 +83,4 @@ spec:
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}

0 comments on commit c04c413

Please sign in to comment.