Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-1770

Oc task: failed to pull image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • Pipelines 1.6
    • Pipelines 1.6
    • Tekton Catalog
    • None
    • 2
    • False
    • False
    • Pipelines Sprint 209

      Expected behavior

      Cluster task "openshift-client" works out of the box

      Actual behavior

      Following even is generated on 4.9 cluster

      build step "step-oc" is pending with reason "rpc error: code = Unknown desc = reading manifest 4.7 in image-registry.openshift-image-registry.svc:5000/openshift/cli: manifest unknown: manifest unknown"
      

      In Pipelines 1.5, default value for VERSION param was "latest", in 1.6 it is "4.7" which doesn't exist on 4.9 clusters (only "latest" is available)

      Steps to reproduce

      apiVersion: tekton.dev/v1beta1
      kind: PipelineRun
      metadata:
        generateName: openshift-client-run-
      spec:
        pipelineSpec:
          tasks:
          - name: run-oc
            taskRef:
              name: openshift-client
              kind: ClusterTask
            params:
            - name: SCRIPT
              value: |
                oc get pipeline -n openshift
        timeout: 5m
      

              vdemeest Vincent Demeester
              ppitonak Pavol Pitoňák
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: