monitoring-data-persistor/charts/nebulous-monitoring-data-persistor/templates/serviceaccount.yaml
jmarchel e631dc2283 Init repo from the component-template
Change-Id: I8c65962f2f4f1fb31b804b91fd1291ca141b2482
2024-01-04 20:10:29 +01:00

13 lines
374 B
YAML

{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "nebulous-monitoring-data-persistor.serviceAccountName" . }}
labels:
{{- include "nebulous-monitoring-data-persistor.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}