mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-04-26 18:51:37 +00:00
fix: helm chart security context rendering if empty (#1235)
Signed-off-by: Dominik Augustin <botchk@users.noreply.github.com> Co-authored-by: Dominik Augustin <botchk@users.noreply.github.com> Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com>
This commit is contained in:
parent
477ef155d3
commit
be4ca86af0
@ -24,7 +24,7 @@ spec:
|
||||
{{- if .Values.deployment.securityContext }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.deployment.securityContext | nindent 8 }}
|
||||
{{ end -}}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ template "k8sgpt.fullname" . }}
|
||||
containers:
|
||||
- name: k8sgpt-container
|
||||
|
Loading…
Reference in New Issue
Block a user