Is your task related to a problem? Please describe
That's important because Che and CRW don't get devfile v2 support(devworkspace mode) by default, but OpenShift Console already use them for default samples and it breaks integration.

Describe the solution you'd like
Che should supply devfile v2 in Che Server mode (by converting it to devfile v1).
It includes the following subtasks:
📓 dashboard won't validate generated devfile v1 (from devfile v2) against devfile v1 schema, and if there is any bug in conversion logic, the user will get an unclear message that some component is not a valid or field is missing, but in a fact there is nothing user can do with that.
Release Notes Text
Che now supports creating workspaces from a Devfile that uses v2 of the spec even if the workspace engine is the che-server (the default). Previously that was possible only if Che was configured with the DevWorkspace operator as workspace engine.
Is your task related to a problem? Please describe
That's important because Che and CRW don't get devfile v2 support(devworkspace mode) by default, but OpenShift Console already use them for default samples and it breaks integration.
Describe the solution you'd like
Che should supply devfile v2 in Che Server mode (by converting it to devfile v1).
It includes the following subtasks:
Code: https://github.com/eclipse-che/che-theia/blob/main/extensions/eclipse-che-theia-remote-impl-che-server/src/node/che-server-devfile-service-impl.ts#L591-L650
Tests: https://github.com/eclipse-che/che-theia/blob/main/extensions/eclipse-che-theia-remote-impl-che-server/tests/node/che-server-devfile-service-impl.spec.ts
📓 dashboard won't validate generated devfile v1 (from devfile v2) against devfile v1 schema, and if there is any bug in conversion logic, the user will get an unclear message that some component is not a valid or field is missing, but in a fact there is nothing user can do with that.
Release Notes Text
Che now supports creating workspaces from a Devfile that uses v2 of the spec even if the workspace engine is the che-server (the default). Previously that was possible only if Che was configured with the DevWorkspace operator as workspace engine.