⚠️ ⚠️ ⚠️ Functionality of DevWorkspace Che Operator was merged into che-operator (PR#925). Devworkspace Che Operator is not deployed in Eclipse Che 7.35+ and this repository will not be mainained anymore.
An experimental operator that enhances Devworkspaces with Che-specific functionality.
This operator brings support for single-host mode into the devworkspace picture. It is in charge of maintaining and configuring the HTTP gateway (using Traefik) that serves as the main entrypoint to the devworkspaces and dashboard.
It is also in charge of reconfiguring the gateway to route the traffic to devworkspace endpoints as requested during the workspace startup.
In the future, it is going to be also responsible for authentication of users accessing the Che dashboard and devworkspaces (either in the same executable or separately).
There are 2 controllers in this operator. One is in charge of maintaining the state of the Che-specific infrastructure, the other is in charge of exposing the devworkspace endpoints.
This controller is in charge of the Che-specific infrastructure that is described using the CheCluster
custom resource defined by
che-operator.
This controller is in charge of exposing the devworkspace endpoints by reconciling the DevWorkspaceRouting
objects that are themselves managed
by the main devworkspace operator. For this controller to handle the endpoints of a devworkspace, the DevWorkspace
object describing the
workspace needs to have the routingClass
property set to che
.
There has to be a running installation of the devworkspace-operator running in the cluster.
There also have to be the CheCluster
custom resource installed in the cluster. Please see che-operator for the latest version of that.