-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UD] A new workspace cannot be created if the target devfile includes a parent with the storage-type field #23309
Comments
@olexii4 some relevant discussion related to this issue - devfile/registry#401 (comment) @thepetk @michael-valdron wdyt should be the right behaviour, imo the attributes defined in the child devfile should get the priotity |
Yeah I think is quite similar with devfile/registry#401 (comment) I was able to reproduce the error using an updated version of mine:
I would expect that the following structure should be ok to override the parent attributes: parent:
uri: "...."
attributes:
controller.devfile.io/storage-type: empheral However this is not the case, as the I can confirm this is not the case too. See: One question I have: Are there any additions to the child devfile attributes done by default from Devworkspace during the workspace creation process? This would justify the above error as both attributes:
controller.devfile.io/storage-type: added in any of the steps to the devfile we are trying to create a workspace from? The main reason I'm asking is what I described above. In case no NOTE: FWIW I can confirm that this is not a generic issue for the |
@thepetk @ibuziuk The parent schema does not support overrides in the attributes field, so The described solution is implemented in this PR. WDYT? |
makes sense 👍 @thepetk wdyt? |
Describe the bug
A new workspace cannot be created if it is based on a devfile with a parent with the storage-type field e.g.
Che version
7.97@latest
Steps to reproduce
Expected behavior
Runtime
OpenShift
Screenshots
No response
Installation method
chectl/next
Environment
macOS
Eclipse Che Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: