Use the user's roles for Kubernetes roles in Che workspaces #13795
Labels
kind/enhancement
A feature request - must adhere to the feature request template.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
severity/P2
Has a minor but important impact to the usage or development of the system.
Milestone
Description
I'm from the Eclipse Codewind project, and we have a plugin for its integration with Che (https://github.com/eclipse/codewind-che-plugin). On Che, Codewind allows users to create Kubernetes deployments and services for their application. However, the default roles given to the Che workspace aren't enough for that, and we currently tell users to set
cheWorkspaceClusterRole
(https://github.com/eclipse/che-operator/blob/master/deploy/crds/org_v1_che_cr.yaml#L28) when installing Che, so that Codewind can function properly.It'd be nice if we had a way for workspaces (maybe via the devfile?), to specify and link to a Kubernetes role that can be used for the workspace. Then, when the workspace was created, a role binding would be created linking to that cluster role. That way, workspaces that require increased cluster roles (such as Codewind), could then be created from a default installation of Che, without additional work needed by the user.
I suppose if this was done, we'd also want something in the UI to tell the user that the workspace they're creating requires hightened roles.
The text was updated successfully, but these errors were encountered: