1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-01-31 03:12:45 +00:00
bramw_baserow/deploy/helm/baserow/charts/baserow-common/templates/service-account.yaml
2024-07-18 15:29:01 +00:00

16 lines
529 B
YAML

{{- if not .Values.global.baserow.serviceAccount.shared -}}
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "baserow.serviceAccountName" . }}
namespace: {{ include "baserow.namespace" . }}
labels:
{{- include "baserow.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}z
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- end }}
{{- end }}