github-release-bot/helm/templates/serviceaccount.yaml

13 lines
342 B
YAML
Raw Normal View History

2023-03-05 08:37:51 +00:00
{{- 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 }}