optimiser-solver/charts/nebulous-optimiser-solver/templates/serviceaccount.yaml
Radosław Piliszek 2af114e479 Init repo from the component-template
Change-Id: Ib3f997825271eaff341dd76608afd390f00db390
2023-09-19 20:16:15 +02:00

13 lines
356 B
YAML

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