source-controller/internal/controller/testdata/charts/helmchartwithdeps/templates/serviceaccount.yaml

9 lines
227 B
YAML

{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "helmchartwithdeps.serviceAccountName" . }}
labels:
{{ include "helmchartwithdeps.labels" . | nindent 4 }}
{{- end -}}