[bitnami/pinniped] Fix serviceaccount and apiserver object name (#13224)

Signed-off-by: Rafael Rios Saavedra <rrios@vmware.com>

Signed-off-by: Rafael Rios Saavedra <rrios@vmware.com>
This commit is contained in:
Rafael Ríos Saavedra
2022-10-28 10:55:19 +02:00
committed by GitHub
parent 4ac28809ca
commit 7d5498c14b
3 changed files with 3 additions and 3 deletions

View File

@@ -22,4 +22,4 @@ name: pinniped
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/pinniped
- https://github.com/vmware-tanzu/pinniped/
version: 0.4.2
version: 0.4.3

View File

@@ -34,7 +34,7 @@ Return the proper Concierge fullname (with ns)
Return the proper Concierge API fullname
*/}}
{{- define "pinniped.concierge.api.fullname" -}}
{{- printf "%s-%s" (include "pinniped.concierge.fullname" .) "api" | trunc 63 | trimSuffix "-" -}}
{{- printf "%s-%s" (include "pinniped.concierge.fullname.namespace" .) "api" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*

View File

@@ -11,7 +11,7 @@ metadata:
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
annotations:
kubernetes.io/service-account.name: {{ template "pinniped.concierge.impersonation-proxy.fullname" . }}
kubernetes.io/service-account.name: {{ template "pinniped.concierge.impersonation-proxy.serviceAccountName" . }}
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}