2021-06-24 01:55:05 +00:00
|
|
|
{{- if .Values.serviceAccount.create }}
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ServiceAccount
|
|
|
|
metadata:
|
|
|
|
name: {{ template "cost-analyzer.serviceAccountName" . }}
|
2023-02-07 20:34:08 +00:00
|
|
|
namespace: {{ .Release.Namespace }}
|
2021-06-24 01:55:05 +00:00
|
|
|
labels:
|
|
|
|
{{ include "cost-analyzer.commonLabels" . | nindent 4 }}
|
|
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
|
|
annotations:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|