optimiser-constraint-checker/charts/nebulous-optimiser-constraint-checker/templates/serviceaccount.yaml
Radosław Piliszek 6c148d897b Init repo from the component-template
Change-Id: Ic3153c8e8a9b78df02a5a8f590ed20dc78d85b95
2023-09-19 20:17:32 +02:00

13 lines
380 B
YAML

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