drop -foo suffix from default serviceaccount name (#11842)

Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>

Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
This commit is contained in:
Cyril Jouve
2022-08-19 13:03:32 +02:00
committed by GitHub
parent f341200b1a
commit f86cdf81e0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,4 +23,4 @@ name: haproxy
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/haproxy
- https://github.com/haproxytech/haproxy
version: 0.3.34
version: 0.4.0
+1 -1
View File
@@ -28,7 +28,7 @@ Create the name of the service account to use
*/}}
{{- define "haproxy.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (printf "%s-foo" (include "common.names.fullname" .)) .Values.serviceAccount.name }}
{{ default (include "common.names.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}