mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 14:57:16 +08:00
* [bitnami/cert-manager] Chart standardised Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * [bitnami/cert-manager] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
16 lines
686 B
YAML
16 lines
686 B
YAML
{{- if .Values.webhook.serviceAccount.create }}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
automountServiceAccountToken: {{ .Values.webhook.serviceAccount.automountServiceAccountToken }}
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/component: webhook
|
|
{{- include "common.labels.standard" . | nindent 4 }}
|
|
name: {{ template "certmanager.webhook.serviceAccountName" . }}
|
|
{{- $mergedAnnotations := merge .Values.webhook.serviceAccount.annotations .Values.commonAnnotations }}
|
|
{{- if $mergedAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" $mergedAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
{{- end }}
|