[devworkspace-che-operator] A failed workspace routing is not finalized #19067
Labels
engine/devworkspace
Issues related to Che configured to use the devworkspace controller as workspace engine.
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P1
Has a major impact to usage or development of the system.
Milestone
Is your enhancement related to a problem? Please describe.
When there is a failed devworkspace (with
che
routingClass) with a workspace routing in the "Failed" phase, the routing is not cleaned up upon deleting the devworkspace object.Describe the solution you'd like
The devworkspace che operator should correctly process the workspace routing and clean up the finalizer so that the routing can be properly deleted along with the owning devworkspace object.
Describe the bug
When there is a failed devworkspace (with
che
routingClass) with a workspace routing in the "Failed" phase, the routing is not cleaned up upon deleting the devworkspace object.Che version
devworkspace-operator master + devworkspace-che-operator master
Steps to reproduce
kubectl delete devworkspace theia-nodejs
Expected behavior
The delete completes successfully and there is no workspacerouting object in the namespace where the devworkspace object was deployed.
Runtime
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:"clean", BuildDate:"2021-01-13T13:20:00Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
)
Installation method
Manual
Environment
my computer, linux
The text was updated successfully, but these errors were encountered: