Description
We should consider adding some kind of field in the DWOC:
workspace:
setIdOverwriteAnnotation: true|false
where if enabled, the DWO will automatically set the controller.devfile.io/devworkspace_id_override annotation in the DevWorkspace CR spec to status.workspaceId.
The main benefit of this, is that if the DevWorkspace CR were to be deleted and recreated, the status.workspaceId will remain the same as before the deletion, thanks to the constants.WorkspaceIdOverrideAnnotation.
Additional context
This allows better integration with OADP backup and restore https://issues.redhat.com/browse/CRW-9513.
Since per-workspace and per-user PVCs are tied to workspaceIds (ex. per-workspace PVCs are named storage-<workspaceId>), having predictable workspaceIds are helpful for the restore functionality.