Skip to content

Commit

Permalink
Fix service account name
Browse files Browse the repository at this point in the history
  • Loading branch information
wissamataleh committed Aug 15, 2021
1 parent 2479cc2 commit 9523791
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions charts/drone-runner-kube/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
Create the name of the service account to use
*/}}
{{- define "drone-runner-kube.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "drone-runner-kube.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

0 comments on commit 9523791

Please sign in to comment.