Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-1769

[BUG] Adding a devfile at runtime using the instructions does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • CRW 2.1.1
    • CRW 2.0.1
    • Dev Spaces
    • None

      Read and follow instructions documented here: https://access.redhat.com/documentation/en-us/red_hat_codeready_workspaces/2.0/html-single/administration_guide/index#adding-a-devfile-at-runtime_editing-a-devfile-and-plug-in-at-runtime

      Notice the instruction:

      {{$ DEVFILE_REG_POD=$(oc get -o custom-columns=NAME:.metadata.name \
        --no-headers -l app=che-devfile-registry pod)}}
      

      There is no pod with the label che-devfile-registry so you never get a pod back

      Notice the instruction

      {{$ oc exec $\{DEVFILE_REG_POD} -i -t -- \
        /var/www/html/index.sh > /var/www/html/devfiles/index.json}}
      

      There is no index.sh in /var/www/html/ making it impossible to complete this step

              rhn-gps-tgeorge Thomas George (Inactive)
              civerson@redhat.com craig iverson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: