k8s-charts/charts/unifi-controller/templates/serviceaccount.yaml

13 lines
338 B
YAML
Raw Normal View History

2023-03-26 20:16:41 +00:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "unifi-controller.serviceAccountName" . }}
labels:
{{- include "unifi-controller.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}