Details
-
Bug
-
Resolution: Done
-
Major
-
2.5.0.GA
-
None
-
False
-
False
-
Undefined
-
Description
Deploying a 1.0.0 devfile fails when using the OpenShift connector plugin:
/tmp/vscode-unpacked/redhat.vscode-openshift-connector.latest.oemyqjcdbo.vscode-openshift-connector-0.2.0.vsix/extension/out/tools/linux/odo" push "/tmp/vscode-unpacked/redhat.vscode-openshift-connector.latest.oemyqjcdbo.vscode-openshift-connector-0.2.0.vsix/extension/out/tools/linux/odo" push bash-4.4# "/tmp/vscode-unpacked/redhat.vscode-openshift-connector.latest.oemyqjcdbo.vscode-openshift-connector-0.2.0.vsix/extension/out/tools/linux/odo" push ✗ unable to find schema for apiVersion '1.0.0', this Devfile version is not supported by odo
It seems this is because the latest version of the OpenShift connector plugin uses a newer version of odo, which doesn't work with older versions of the devfile spec. Note, this bug has been fixed in CRW 2.5.1 by rolling back to an older version of the OpenShift connector plugin. Unless the plugin itself is patched, the same fix will need to be applied to 2.6.