2023-05-11 01:07:45 +02:00
|
|
|
{{- if .Values.serviceAccount.create -}}
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ServiceAccount
|
|
|
|
metadata:
|
2023-07-03 00:18:30 +02:00
|
|
|
name: {{ include "firefish.serviceAccountName" . }}
|
2023-05-11 01:07:45 +02:00
|
|
|
labels:
|
2023-07-03 00:18:30 +02:00
|
|
|
{{- include "firefish.labels" . | nindent 4 }}
|
2023-05-11 01:07:45 +02:00
|
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
|
|
annotations:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|