Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Experimental operator that enhances DevWorkspaces with che-specific functionalities

License

Notifications You must be signed in to change notification settings

che-incubator/devworkspace-che-operator

Repository files navigation

⚠️⚠️⚠️ 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.

Che Manager Controller for DevWorkspaces

Go tests Codecov

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).

Controllers

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.

Che Cluster Controller

This controller is in charge of the Che-specific infrastructure that is described using the CheCluster custom resource defined by che-operator.

DevWorkspace Routing Controller

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.

Prerequisites

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.

Build

To build the code, just run:

make

There are more things you can do with make. To figure out what is available, run:

make help

About

Experimental operator that enhances DevWorkspaces with che-specific functionalities

Resources

License

Stars

Watchers

Forks

Packages

No packages published