argocd-helm/charts/argo/templates/ui-cluster-role.yaml

33 lines
459 B
YAML
Raw Normal View History

{{- if .Values.ui.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Release.Name }}-{{ .Values.ui.name}}-cluster-role
rules:
- apiGroups:
- ""
resources:
- pods
- pods/exec
- pods/log
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- apiGroups:
- argoproj.io
resources:
- workflows
- workflowtemplates
verbs:
- get
- list
- watch
{{- end }}