Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,22 @@ Each component in a single devfile must have a unique name and use one of the ob
|container
|componentObject
|no
|The list of containers that you use.
|The list of containers.

|kubernetes
|componentObject
|no
|The Kubernetes cluster.

|openshift
|componentObject
|no
|The OpenShift container.

|volume
|componentObject
|no
|The list of volume components.
|===

.container object
Expand Down Expand Up @@ -94,10 +109,10 @@ Each component in a single devfile must have a unique name and use one of the ob
|secure
|boolean
|no
|Choose to define the endpoint as secure or not.
|Choose whether or not to define the endpoint as secure.
|===

.volume object
.volumeMount object
[cols="1,1,1,1"]
|===
|Key |Type| Required| Description
Expand All @@ -111,6 +126,12 @@ Each component in a single devfile must have a unique name and use one of the ob
|string
|no
|The path in the component container where you mount the volume.
|===

.volume object
[cols="1,1,1,1"]
|===
|Key |Type| Required| Description

|name
|string
Expand All @@ -123,7 +144,6 @@ Each component in a single devfile must have a unique name and use one of the ob
|The size of the storage you create.
|===


.Prerequisites

* xref:adding-schema-version-to-a-devfile.adoc[]
Expand Down