From 9523791ecba4fee45d9184ea201597969ea41a97 Mon Sep 17 00:00:00 2001 From: wissam Date: Mon, 16 Aug 2021 00:57:58 +0300 Subject: [PATCH] Fix service account name --- charts/drone-runner-kube/templates/_helpers.tpl | 2 -- 1 file changed, 2 deletions(-) diff --git a/charts/drone-runner-kube/templates/_helpers.tpl b/charts/drone-runner-kube/templates/_helpers.tpl index 4d18381..a9309c4 100644 --- a/charts/drone-runner-kube/templates/_helpers.tpl +++ b/charts/drone-runner-kube/templates/_helpers.tpl @@ -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 }}