2019-10-22 10:10:13 -06:00
|
|
|
{{- if .Values.ui.enabled }}
|
2018-06-04 10:39:53 -04:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
|
kind: ClusterRole
|
|
|
|
|
metadata:
|
2018-08-03 10:19:12 +02:00
|
|
|
name: {{ .Release.Name }}-{{ .Values.ui.name}}-cluster-role
|
2018-06-04 10:39:53 -04:00
|
|
|
rules:
|
|
|
|
|
- apiGroups:
|
|
|
|
|
- ""
|
|
|
|
|
resources:
|
|
|
|
|
- pods
|
|
|
|
|
- pods/exec
|
|
|
|
|
- pods/log
|
|
|
|
|
verbs:
|
|
|
|
|
- get
|
|
|
|
|
- list
|
|
|
|
|
- watch
|
|
|
|
|
- apiGroups:
|
|
|
|
|
- ""
|
|
|
|
|
resources:
|
|
|
|
|
- secrets
|
|
|
|
|
verbs:
|
|
|
|
|
- get
|
|
|
|
|
- apiGroups:
|
|
|
|
|
- argoproj.io
|
|
|
|
|
resources:
|
|
|
|
|
- workflows
|
2019-10-22 10:10:13 -06:00
|
|
|
- workflowtemplates
|
2018-06-04 10:39:53 -04:00
|
|
|
verbs:
|
|
|
|
|
- get
|
|
|
|
|
- list
|
|
|
|
|
- watch
|
2019-10-22 10:10:13 -06:00
|
|
|
{{- end }}
|