1
0
mirror of https://github.com/k8sgpt-ai/k8sgpt.git synced 2025-05-06 15:16:26 +00:00

fix: helm chart security context rendering if empty ()

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:
Dominik Augustin 2024-09-09 08:58:05 +02:00 committed by GitHub
parent 477ef155d3
commit be4ca86af0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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