CleanupOnStop option does not clean up resources if DevWorkspace Deployment does not exist #922
Labels
sprint/current
Is assigned to issues which are planned to work on in the current team sprint
Milestone
Description
When enabling the
config.workspace.cleanupOnStop
option in the DevWorkspaceOperatorConfig, the setting is ignored when cleaning up workspaces that do not have a deployment. This means that services, configmaps, etc. are potentially left in the namespace for stopped workspaces.How To Reproduce
cleanupOnStop
in the DevWorkspaceOperatorConfigcluster-tls
on a Kubernetes cluster)Expected behavior
Cleanup should be processed the same regardless of whether or not Deployment exists.
Additional context
The text was updated successfully, but these errors were encountered: