scale-catalog/scale-catalog-template/library/common/templates/_serviceaccount.tpl

16 lines
373 B
Smarty
Raw Normal View History

2021-05-08 10:42:35 +00:00
{{/*
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 }}