MigratingMigrating components

Migrating

Migrating components

This section describes how to migrate components to v2.x devfiles.

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, or volume.

    devfile.yaml
    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: