Skip to content

Commit eb7c033

Browse files
Merge pull request #11 from alexsavulescu/main
Allow disabling pod security context
2 parents ddeae43 + 6c97c42 commit eb7c033

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

charts/sourcebot/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ spec:
2525
{{- toYaml . | nindent 8 }}
2626
{{- end }}
2727
serviceAccountName: {{ include "sourcebot.serviceAccountName" $ }}
28-
{{- with $.Values.sourcebot.podSecurityContext }}
28+
{{- if $.Values.sourcebot.podSecurityContext }}
2929
securityContext:
30-
{{- toYaml . | nindent 8 }}
30+
{{- toYaml $.Values.sourcebot.podSecurityContext | nindent 8 }}
3131
{{- end }}
3232
{{- with $.Values.sourcebot.initContainers }}
3333
initContainers:

0 commit comments

Comments
 (0)