k8s-charts/charts/silverbullet/templates/serviceaccount.yaml

13 lines
330 B
YAML
Raw Normal View History

2024-02-14 21:39:42 +00:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "silverbullet.serviceAccountName" . }}
labels:
{{- include "silverbullet.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}