Still fixing service account

This commit is contained in:
Jonathan Ervine 2020-08-06 13:52:22 +08:00
parent ad91bc01eb
commit 068d6a85e1
2 changed files with 4 additions and 4 deletions

View File

@ -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.1.6
version: 0.1.7
# 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

View File

@ -55,9 +55,9 @@ app.kubernetes.io/instance: {{ .Release.Name }}
Create the name of the service account to use
*/}}
{{- define "guacamole.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "guacamole.fullname" .) .Values.serviceAccount.name }}
{{- if .Values.guacamole.serviceAccount.create }}
{{- default (include "guacamole.fullname" .) .Values.guacamole.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- default "default" .Values.guacamole.serviceAccount.name }}
{{- end }}
{{- end }}