Skip to content

Commit

Permalink
[Application] Apply security context fix to init containers
Browse files Browse the repository at this point in the history
  • Loading branch information
heubeck authored Nov 27, 2024
1 parent 5bf9773 commit 6e7246b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/application/templates/_podTemplate.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
{{- end }}
securityContext:
{{- if and $i.securityContext $.Values.initDefaults.securityContext }}
{{- toYaml (mergeOverwrite $.Values.initDefaults.securityContext $i.securityContext) | nindent 8 }}
{{- toYaml (merge $i.securityContext $.Values.initDefaults.securityContext) | nindent 8 }}
{{- else }}
{{- toYaml (or $i.securityContext $.Values.initDefaults.securityContext) | nindent 8 }}
{{- end }}
Expand Down

0 comments on commit 6e7246b

Please sign in to comment.