XMLWordPrintable

Details

    Description

      nodejs-configmap devfile works for the first 2 steps, but the task "3. Deploy application" does not work.

      > nodejs-configmap@3.1.2 openshift /projects/nodejs-configmap
      > nodeshift --dockerImage=registry.access.redhat.com/ubi8/nodejs-12
      
      2020-06-17T01:21:23.917Z INFO loading configuration
      2020-06-17T01:21:23.945Z INFO using namespace undefined at https://172.30.0.1:443
      2020-06-17T01:21:23.947Z INFO creating archive of package.json, app.js, public, bin, LICENSE, licenses
      2020-06-17T01:21:24.011Z ERROR buildconfigs.build.openshift.io "nodejs-configmap-s2i" is forbidden: User "system:serviceaccount:nboldt-cr-tls:che-workspace" cannot get resource "buildconfigs" in API group "build.openshift.io" at the cluster scope
      2020-06-17T01:21:24.011Z ERROR Status code 403
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! nodejs-configmap@3.1.2 openshift: `nodeshift --dockerImage=registry.access.redhat.com/ubi8/nodejs-12`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the nodejs-configmap@3.1.2 openshift script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/jboss/.npm/_logs/2020-06-17T01_21_24_024Z-debug.log

      https://codeready-nboldt-cr-tls.apps.ocp44.crw-qe.com/dashboard/#/ide/admin/nodejs-configmap-1mbda?tab=getStarted

      To deploy CRW 2.2 on OCP 4.4, see examples in

      Attachments

        Issue Links

          Activity

            People

              vsvydenk Valerii Svydenko
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: