Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-301

`deploy.sh` is not working with `oc` version 4.1

XMLWordPrintable

      `deploy.sh` is not working with most recent openshift client (`oc` version 4.1).
      It fails on creation of CheCluster CR with this error:

      error: The template contained an object type unknown to `oc new-app`.  Use `oc process -f <template> | oc create -f -` instead.  Error details: no kind "CheCluster" is registered for version "org.eclipse.che/v1" in scheme "k8s.io/kubernetes/pkg/kubectl/scheme/scheme.go:28"
      

      I've tried suggested solution (replace `oc new-app` with `oc process | oc create`) and it works, but requires edition of `deploy.sh` script.

      Running `deploy.sh` with oc 3.11 works without any problems.

              nickboldt Nick Boldt
              rhopp@redhat.com Radim Hopp
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: