pod-volume-cleaner/helm/templates/serviceaccount.yaml
2022-09-12 16:34:34 +02:00

13 lines
328 B
YAML

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