Migrating schema version
This section describes how to migrate the existing schema version to a v2.x devfile. The schema version specified in a v1.x devfile still works in a v2.x devfile.
Procedure
-
To migrate a schema version from a v1.x devfile to a v2.x devfile, replace
apiVersion: 1.0.0
withschemaVersion: 2.1.0
:v1.0 --- apiVersion: 1.0.0 metadata: name: devfile-sample
v2.0 --- schemaVersion: 2.1.0 metadata: name: devfile-sample
Additional resourcesFor more information on migrating schema versions, go to the following GitHub issue: schemaVersion attribute.