helm-charts/mautrix-bridge/templates/serviceaccount.yaml

14 lines
403 B
YAML
Raw Permalink Normal View History

2024-02-19 00:08:20 +01:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "mautrix-bridge.serviceAccountName" . }}
2024-02-19 00:08:20 +01:00
labels:
{{- include "mautrix-bridge.labels" . | nindent 4 }}
2024-02-19 00:08:20 +01:00
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
{{- end }}