github-release-bot/helm/templates/serviceaccount.yaml
2023-03-05 11:37:51 +03:00

13 lines
342 B
YAML

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