2 Commits

2 changed files with 24 additions and 1 deletions

View 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

View File

@ -71,7 +71,7 @@ spec:
- name: REPO_URL - name: REPO_URL
value: https://gitea.marcin00.pl/pikram/user-microservice.git value: https://gitea.marcin00.pl/pikram/user-microservice.git
- name: REPO_BRANCH - name: REPO_BRANCH
value: argo-workflow value: argo-workflows
args: args:
- | - |
git clone --depth 1 --branch "${REPO_BRANCH}" --single-branch "${REPO_URL}" repo git clone --depth 1 --branch "${REPO_BRANCH}" --single-branch "${REPO_URL}" repo