deploy-templates/templates/serviceaccount.yaml (10 lines of code) (raw):

apiVersion: v1 kind: ServiceAccount metadata: name: {{ .Values.serviceAccount.name }} labels: {{- include "registry-regulation-management.labels" . | nindent 4 }} {{- with .Values.serviceAccount.annotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }}