Compare commits
2 Commits
a5a9c9ec43
...
9e4cc61e30
Author | SHA1 | Date | |
---|---|---|---|
9e4cc61e30 | |||
90dcd19a46 |
23
argo-workflows/argo-workflow-manager-role.yaml
Normal file
23
argo-workflows/argo-workflow-manager-role.yaml
Normal file
@ -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
|
@ -71,7 +71,7 @@ spec:
|
||||
- name: REPO_URL
|
||||
value: https://gitea.marcin00.pl/pikram/user-microservice.git
|
||||
- name: REPO_BRANCH
|
||||
value: argo-workflow
|
||||
value: argo-workflows
|
||||
args:
|
||||
- |
|
||||
git clone --depth 1 --branch "${REPO_BRANCH}" --single-branch "${REPO_URL}" repo
|
||||
|
Reference in New Issue
Block a user