diff --git a/charts/conductor/Chart.yaml b/charts/conductor/Chart.yaml index 6c0025f7d..53f1617e4 100644 --- a/charts/conductor/Chart.yaml +++ b/charts/conductor/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.5.1 +version: 0.5.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/conductor/templates/_helpers.tpl b/charts/conductor/templates/_helpers.tpl index 92f0f0815..7318989ff 100644 --- a/charts/conductor/templates/_helpers.tpl +++ b/charts/conductor/templates/_helpers.tpl @@ -83,9 +83,5 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} Create the name of the service account to use */}} {{- define "conductor.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} {{- default (include "conductor.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} {{- end }} diff --git a/charts/conductor/templates/cluster-role-binding.yaml b/charts/conductor/templates/cluster-role-binding.yaml index 45379de67..5a6bc8e7b 100644 --- a/charts/conductor/templates/cluster-role-binding.yaml +++ b/charts/conductor/templates/cluster-role-binding.yaml @@ -5,7 +5,7 @@ metadata: subjects: - kind: ServiceAccount namespace: {{ .Release.Namespace }} - name: {{ include "conductor.fullname" . }} + name: {{ include "conductor.serviceAccountName" . }} roleRef: kind: ClusterRole name: {{ include "conductor.fullname" . }}