-
Bug
-
Resolution: Done
-
Minor
-
CRW 2.3.0, CRW 2.4.0
-
devex docs #192 Oct 29-Nov 19, devex docs #193 Nov 19-Dec 10
-
1
End User guide provides examples of devfiles which have wrong formatting:
Example of a minimal dockerimage component:
apiVersion: 1.0.0
metadata:
name: MyDevfile
components:
type: dockerimage
image: golang
memoryLimit: 512Mi
command: ['sleep', 'infinity']
should be:
apiVersion: 1.0.0
metadata:
name: MyDevfile
components:
- type: dockerimage
image: golang
memoryLimit: 512Mi
command: ['sleep', 'infinity']
The same for below devfile:
apiVersion: 1.0.0
metadata:
name: MyDevfile
components:
type: dockerimage
image: golang
memoryLimit: 512Mi
mountSources: true
command: ['sleep', 'infinity']
should be:
apiVersion: 1.0.0
metadata:
name: MyDevfile
components:
- type: dockerimage
image: golang
memoryLimit: 512Mi
mountSources: true
command: ['sleep', 'infinity']