mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 14:57:22 +08:00
* [bitnami/grafana-operator] Chart standardised Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Fran Mulero <fmulero@vmware.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
22 lines
1.0 KiB
YAML
22 lines
1.0 KiB
YAML
{{- if and .Values.operator.serviceAccount.create .Values.operator.enabled -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "grafana-operator.serviceAccountName" . }}
|
|
namespace: {{ include "common.names.namespace" . | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if or .Values.commonAnnotations .Values.operator.serviceAccount.annotations }}
|
|
annotations:
|
|
{{- if .Values.operator.serviceAccount.annotations }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.operator.serviceAccount.annotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
automountServiceAccountToken: {{ .Values.operator.serviceAccount.automountServiceAccountToken }}
|
|
{{- end }}
|