Skip to content

Commit

Permalink
Add ArgoCD view permissions for cluster-as-a-service (redhat-appstudi…
Browse files Browse the repository at this point in the history
…o#4412)

Signed-off-by: Alex Misstear <amisstea@redhat.com>
  • Loading branch information
amisstea authored Aug 28, 2024
1 parent 63681f2 commit 902c28b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/cluster-as-a-service/base/argocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ metadata:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
spec:
resourceTrackingMethod: annotation
rbac:
policy: |
g, system:cluster-admins, role:admin
g, system:authenticated, role:readonly
4 changes: 4 additions & 0 deletions components/cluster-as-a-service/development/argocd-rbac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
- op: replace
path: /spec/rbac/policy
value: g, system:authenticated, role:admin
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ patches:
group: argoproj.io
kind: ApplicationSet
version: v1alpha1
- path: argocd-rbac.yaml
target:
group: argoproj.io
kind: ArgoCD

0 comments on commit 902c28b

Please sign in to comment.