Open l0rd opened 9 months ago
I don't think this will be used to resolve this issue, but I figured it's worth mentioning: The DevWorkspaceOperatorConfig supports a default devworkspace template spec, that allows configuring components, commands, events, etc.
The problem with leveraging this DWOC field is that it operates at the DevWorkspace level rather than devfile level - no default devfile would be created if this was used. Additionally, there's already existing code in Che-Operator and the UD for the default components field in the Che Cluster CR.
no default devfile would be created if this was used
Well no devfile is created anyway. When there is no devfile in a git repository the dashboard generates a DW and doesn't expose a devfile to the user. Your suggestion should be a good workaround. But DWOC is kind of non-documented feature.
Issues go stale after 180
days of inactivity. lifecycle/stale
issues rot after an additional 7
days of inactivity and eventually close.
Mark the issue as fresh with /remove-lifecycle stale
in a new comment.
If this issue is safe to close now please do so.
Moderators: Add lifecycle/frozen
label to avoid stale mode.
Is your enhancement related to a problem? Please describe
Today it's possible to specify
..defaultComponents
in CheCluster CR but not default commands, events or parent. It's not possible for instance adding a default preStart event.Describe the solution you'd like
The CheCluster devEnvironment should support these new properties:
Describe alternatives you've considered
No response
Additional context
https://github.com/devfile/developer-images/pull/115#issuecomment-1747245613