Skip to content

Commit

Permalink
fix: extends CR to allow cronjob/workflow triggers
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas Morey <[email protected]>
Signed-off-by: Marcelo Moreira de Mello <[email protected]>
  • Loading branch information
tchellomello and morey-tech committed Sep 5, 2023
1 parent ef7f32e commit ebec8bb
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions manifests/cluster-rbac/server/argocd-server-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ rules:
- get
- list
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- create # supports triggering jobs from UI
- apiGroups:
- argoproj.io
resources:
- workflows
verbs:
- create # supports triggering workflows from UI
12 changes: 12 additions & 0 deletions manifests/ha/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18781,6 +18781,18 @@ rules:
- get
- list
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- create
- apiGroups:
- argoproj.io
resources:
- workflows
verbs:
- create
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down
12 changes: 12 additions & 0 deletions manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18740,6 +18740,18 @@ rules:
- get
- list
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- create
- apiGroups:
- argoproj.io
resources:
- workflows
verbs:
- create
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down

0 comments on commit ebec8bb

Please sign in to comment.