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

13 lines
316 B
YAML
Raw Normal View History

2022-11-17 22:41:49 +00:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "cinny.serviceAccountName" . }}
labels:
{{- include "cinny.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}