renovate-charts/templates/serviceaccount.yaml

13 lines
322 B
YAML
Raw Normal View History

2021-10-28 17:41:17 +00:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "renovate.serviceAccountName" . }}
labels:
{{- include "renovate.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}