RBAC with OIDC groups #3352
Unanswered
sahil-sharma
asked this question in
Q&A
Replies: 1 comment
|
@agilgur5 Sorry to tag you. Can you share some insights on this or redirect me to relevant person or place? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I would like to configure separate groups configured in Keycloak and connect it via SSO RBAC with Argo-Workflows.
Each group should have different permissions, each group should see and run only the workflows that they are responsible for.
Is there any way to assign Role-based access to different OIDC groups to handle workflows execution?
There is already a similar discussion but have no sample example to properly follow or to understand.
Example:
I need to add all the namespaces here where workflows can be executed.
Groups in keycloak:
Now, I need to create specific Role ad RoleBindings attached to SA in every namespace. How can I do it via helm chart?
According to this, we have to create secrets manually bind to a SA.
I have this in my
secrets.yaml. Which namespace should these secrets be created? In theargo-workflowsinstallation namespace or respective service namespace? I am not clear here.I need to create SA accordingly but in
argo-workflowsnamespace or service namespace? Please suggest.Now I updated my
values.yamlfile as:Do I need to add extra rules like this so that above SA should create workflows or other resources:
As if I do not add then I get Permission Denied error in
defaultnamespace.Let' say I want
engineering/datagroups should not have DELETE permissions on any resources. Then how can I assign it based on above rule.Can someone share some insights or proper examples to have proper RBAC based on SA or groups via SSO?
Many thanks in advance!
All reactions