Add an ability to use kubernetes API proxy on Kubernetes #19813
Labels
area/che-server
area/dashboard
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
Is your task related to a problem? Please describe.
Currently, kubernetes API proxy supports only OpenShift with OAuth enabled.
And this issue is about enabling an ability to use Kubernetes Proxy on Kubernetes.
Describe the solution you'd like
Since we don't have in the session(browser) the identity with which we can access K8s API, proxy would need use ServiceAccount's identity, but to avoid privileges escalation it would additionally need to check if users accessing their default namespace, which should be only available.
Describe alternatives you've considered
It can be done on Che Server K8s API proxy that we have
Or dashboard backend which is not in a place yet
Additional context
The text was updated successfully, but these errors were encountered: