Migrating components

This section describes how to migrate components to v2.x devfiles. A component specified in a v1.x devfile no longer works in a v2.x devfile.

Procedure
  1. Component is a polymorphic type

    The validation component is now defined as a polymorphic type and can be implemented as container, kubernetes, openshift, plugin, or volume.

    v2.0
    ---
    components:
      - name: mydevfile
      - container:
            image: maven
            ...
      - container:
            image: nodejs
            ...
      - kubernetes:
           uri: https://.../mongo.yaml
    Additional resources

    For more information on migrating components, go to the following GitHub issues: