rancher-charts/charts/rancher-backup/2.0.1/templates/serviceaccount.yaml

12 lines
346 B
YAML
Raw Normal View History

2021-10-26 16:27:25 +00:00
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "backupRestore.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "backupRestore.labels" . | nindent 4 }}
{{- if .Values.serviceAccount.annotations }}
annotations:
{{- toYaml .Values.serviceAccount.annotations | nindent 4 }}
{{- end }}