freeleaps-ops/freeleaps-secret-operator/helm-pkg/secret-operator/templates/serviceaccount.yaml
zhenyus c42f249e9f feat(helm): add helm package codes for secret operator
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-18 11:24:07 +08:00

13 lines
356 B
YAML

{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "freeleaps-secret-operator.serviceAccountName" . }}
labels:
{{- include "freeleaps-secret-operator.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}