exn-middleware/charts/nebulous-exn-middleware/templates/serviceaccount.yaml
jmarchel fb02c5b703 Init repo from the component-template
Change-Id: Ic96afc7e75322b3d3e1d357972b6d29a4dbec3f4
2024-01-31 14:26:08 +01:00

13 lines
352 B
YAML

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