mirror of
https://github.com/bitnami/charts.git
synced 2026-03-08 08:47:24 +08:00
* [bitnami/argo-cd] Chart standardised Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update README.md Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Remove %% comments Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Bump redis version Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Bump major and update README.md Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * [bitnami/argo-cd] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
23 lines
1.1 KiB
YAML
23 lines
1.1 KiB
YAML
{{- if and .Values.rbac.create .Values.controller.serviceAccount.create -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "argocd.application-controller.serviceAccountName" . }}
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
app.kubernetes.io/component: controller
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if or .Values.controller.serviceAccount.annotations .Values.commonAnnotations }}
|
|
annotations:
|
|
{{- if .Values.commonAnnotations }}
|
|
{{- include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.controller.serviceAccount.annotations }}
|
|
{{- include "common.tplvalues.render" (dict "value" .Values.controller.serviceAccount.annotations "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
automountServiceAccountToken: {{ .Values.controller.serviceAccount.automountServiceAccountToken }}
|
|
{{- end }}
|