argocd-helm/charts/argo/templates/ui-cluster-role.yaml
Andrew Suderman cc0746951b Update argo chart for 2.4.2 (#130)
* Updating chart to 2.4.1

Adding a helm flag instead of --no-hooks for sustainability

Add better readme around CRDs

Fixing controller clusterrole

adding workflowtemplate to argo-ui clusterrole

* Bumping to newest patch

* Bumping to newest patch 2.4.2
2019-10-22 09:10:13 -07:00

32 lines
459 B
YAML

{{- 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 }}