Authoring devfiles - Components
Adding components
Each component in a single devfile must have a unique name and use one of the objects: container, kubernetes, openshift, image or volume.
Prerequisites
Procedure
- Add a - componentssection in the devfile, containing a list of one or more components.
- For each component, define a unique value for the mandatory - nameproperty.
- Define one of the following types for the component: - kubernetes,- container,- openshift,- image, or- volume.