jormungandr-bite/chart/templates/serviceaccount.yaml

13 lines
324 B
YAML
Raw Permalink Normal View History

2023-05-10 17:07:45 -06:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "iceshrimp.serviceAccountName" . }}
2023-05-10 17:07:45 -06:00
labels:
{{- include "iceshrimp.labels" . | nindent 4 }}
2023-05-10 17:07:45 -06:00
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}