Radosław Piliszek 5cc0595207 Init repo from the component-template
Change-Id: Id4ce6f74b8df0c20d17d5a1b43afd68fbc17a87c
2023-09-19 20:11:30 +02:00

13 lines
364 B
YAML

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