oecis-charts/charts/trilium/templates/serviceaccount.yaml

13 lines
320 B
YAML
Raw Normal View History

2023-10-08 15:33:58 +00:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "trilium.serviceAccountName" . }}
labels:
{{- include "trilium.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}