You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
461 B
13 lines
461 B
{{- if .Values.repoServer.serviceAccount.create }}
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: Role
|
|
metadata:
|
|
name: {{ template "argo-cd.repoServer.fullname" . }}
|
|
namespace: {{ include "argo-cd.namespace" . }}
|
|
labels:
|
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
|
rules:
|
|
{{- if .Values.repoServer.rbac }}
|
|
{{toYaml .Values.repoServer.rbac }}
|
|
{{- end }}
|
|
{{- end }}
|
|
|