mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-09 05:06:29 +10:00
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:
@@ -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
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user