Closed
Description
Polymorphic types makes devWorkspaces
objects easier to validate and more close as a Kubernetes custom resources. But are we sacrificing the UX of the devfile? Was the 1.0.0 devfile spec easier to read and modify for humans?
devfile 1.0.0
components:
- type: container
image: maven
...
- type: container
image: nodejs
...
- type: kubernetes
reference: https://gist.../mongodb.yaml
...
current proposal
components:
- container:
image: maven
...
- container:
image: nodejs
...
- kubernetes:
reference: https://gist.../mongodb.yaml
...
alternative proposal
components:
containers:
- image: maven
...
- image: nodejs
...
kubernetes:
- reference: https://gist.../mongodb.yaml
...