Skip to content

Commit

Permalink
Use default service account for bundler if none created
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Sep 17, 2024
1 parent 10a3c5a commit 40f5a2f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion charts/bundler/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "common.names.fullname" . }}
{{- if .Values.serviceAccount.create }}
serviceAccountName: {{ default (include "common.names.fullname" .) .Values.serviceAccount.name }}
{{- else }}
serviceAccountName: {{ default "default" .Values.serviceAccount.name }}
{{- end }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
Expand Down

0 comments on commit 40f5a2f

Please sign in to comment.