Closed
Description
/kind bug
Which area this bug is related to?
/area library
What versions of software are you using?
Operating System:
Fedora Linux
Go Pkg Version:
Bug Summary
Describe the bug:
When saving a devfile, the devfile library is adding an ephemeral field to the volume structure on devfile v2.0, but this field is supported starting at v2.1 only.
To Reproduce:
$ odo create nodejs
$ odo storage create vol1
$ odo describe
# works
$ odo storage create vol2
$ odo describe
✗ invalid devfile schema. errors :
- components.1.volume: Additional property ephemeral is not allowed
Suggestion on how to fix the bug
The problem seems very similar to #675