ArgoCD RBAC Policies: ConfigMap vs AppProject #11393
Unanswered
nxhuy-github
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Anyone please 🙏 ? Thank |
Beta Was this translation helpful? Give feedback.
2 replies
-
I don't think you can assign in the project role, under policies users as you suggest:
I think you have to use groups: including an OIDC group for it to work at the project level:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm trying to understand the concept RBAC in ArgoCD and I have some questions please. According to this doc and this doc, I found out that we could configure RBAC rules either with
ConfigMap
(argocd-rbac-cm) or directly inAppProject
. And what I don't understand is what are the differences between these two options? Like in what scenario we'll use this one over that one? Because when I do like this, for example:I see there are no differences here but the first one works and the second one doesn't. Meaning that with the first setup,
[email protected]
could access to any resources inAppProject
appproject-1 and could do anything (create, sync, etc) but the second setup give[email protected]
nothing. I do think there is something happened behind the scene here but I couldn't figure that out of myself. Could you guys please point this out to me if possible, please?In fact, I use email
[email protected]
as my example because I'm trying to setup ArgoCD using SSO with Google. So my second question is: for now, my SSO works just fine (meaning people could access Argo Web UI by using their own Google Account) and I want to use RBAC to enable restriction of access to Argo CD resources. For more detail, I just want that members in each team (like team-dev, team-test, etc) could only access to their own predefined AppProject, not the others. So, what would the best practices be in this case, please? I mean I should use the RBAC withConfigMap
orAppProject
? Or do we have another solution?Thank you guys !!!
Beta Was this translation helpful? Give feedback.
All reactions