diff --git a/argo-workflows/argo-workflow-manager-role.yaml b/argo-workflows/argo-workflow-manager-role.yaml new file mode 100644 index 0000000..887b961 --- /dev/null +++ b/argo-workflows/argo-workflow-manager-role.yaml @@ -0,0 +1,23 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: argo-workflow-manager + namespace: argo-events +rules: + - apiGroups: ["argoproj.io"] + resources: ["workflows", "workflowtemplates", "cronworkflows"] + verbs: ["get", "list", "watch"] +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: argo-ui-user-read-access + namespace: argo-events +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: argo-workflow-manager +subjects: + - kind: ServiceAccount + name: argo-ui-user + namespace: argo