Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[che-auth] Setup full che-like auth flow on Kubernetes #19357

Closed
Tracked by #19182
sparkoo opened this issue Mar 22, 2021 · 1 comment
Closed
Tracked by #19182

[che-auth] Setup full che-like auth flow on Kubernetes #19357

sparkoo opened this issue Mar 22, 2021 · 1 comment
Assignees
Labels
area/che-server kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@sparkoo
Copy link
Member

sparkoo commented Mar 22, 2021

Is your task related to a problem? Please describe.

We need to prototype a full authentication/authorization flow that we now see as a candidate to new solution for Che.

Describe the solution you'd like

  1. setup minikube+dex+oidc (Try to setup minikube + dex + OIDC + RBAC #19196) with multiple users
  2. setup oauth2-proxy -> traefik -> demoapp with kube-rbac-proxy as a sidecar
  3. setup multiple demoapps in separate namespaces with only concrete user having access to single owned namespace
             |
+- - - - - - | - - - - - - - - - - k8s - - - - - -+
|            |                                    |
             V
|     +--------------+  (oidc)  +-------+         |
      | oauth2-proxy |--------->|  DEX  |
|     +--------------+          +-------+         |
             |                      A
|            V                      |             |
        +---------+                 | (oidc)
|       | traefik |                 |             |
        +---------+         +---------------+
|            |              |    k8s-api    |     |
             |              +---------------+
|            V                      A             |
      +-----------------+           |
|    +-----------------+|           |             |
     | kube-rbac-proxy-||-----------+
|    |       |         ||                         |
     |       V         ||
|    |    demo-app     |+                         |
     +-----------------+
|                                                 |
+- - - - - - - - - - - - - - - - - - - - - - - - -+

Describe alternatives you've considered

Additional context

epic: Authentication and authorization in Eclipse Che #19182

@sparkoo
Copy link
Member Author

sparkoo commented Apr 6, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-server kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

2 participants