scale-catalog/scale-catalog-template/library/common/templates/_serviceaccount.tpl
Kjeld Schouten-Lebbing ea1a7af498 no message
2023-03-16 10:06:03 +01:00

16 lines
373 B
Smarty

{{/*
The ServiceAccount object to be created.
*/}}
{{- define "common.serviceAccount" -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "common.names.serviceAccountName" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}