Skip to content

Commit

Permalink
fix: extends CR to allow cronjob/workflow triggers (argoproj#15300)
Browse files Browse the repository at this point in the history
Signed-off-by: Marcelo Moreira de Mello <[email protected]>
Co-authored-by: Nicholas Morey <[email protected]>
  • Loading branch information
2 people authored and lukaszgyg committed Jan 12, 2024
1 parent defe24b commit 6b13a60
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 @@ -18785,6 +18785,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 @@ -18744,6 +18744,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 6b13a60

Please sign in to comment.