mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-01-31 03:12:45 +00:00
16 lines
529 B
YAML
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 }}
|