Dynamically generate namespace and rbac from user attributes #2200
Unanswered
gberche-orange
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks for maintaining this great project over the years. Here is an idea in the context of a k8s-centric
Internal Develop Platform
In the pinniped tutorial at https://pinniped.dev/docs/tutorials/concierge-and-supervisor-demo/#configure-rbac-rules-for-the-developer-and-devops-users, the namespace and rbac granted to a user are statically created by an operator
I'm exploring a scenario where namespaces and rbac are automatically created/mirrored from the upstream identity sources, using templating with upstream identity providers attributes as inputs (username, groups, email ...), with some vague similarities to pinniped transformation expressions
pinniped/site/content/docs/howto/supervisor/configure-supervisor-federationdomain-idps.md
Lines 177 to 184 in 876f626
Let's take the example of a user who has an identity on a gitlab IDP, is member of multiple groups, this templating system would map these groups to a set of namespaces and rbac resources, so that the user can then subscribe to cloud resources through K8S CRs within these namespaces.
Can you think of a way pinniped could help in this scenario ? Are you instead aware of other community projects that could be setup to fulfill this goal ?
Beta Was this translation helpful? Give feedback.
All reactions