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

Task jib-maven broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • Pipelines 1.4.1
    • Pipelines 1.4
    • Tekton Catalog
    • None
    • False
    • False
    • Undefined
    • Pipelines Sprint 200

      Expected behavior

      Cluster task coming with 1.4 works on OpenShift 4.7

      Actual behavior

      Task fails with following message:

      1 error occurred: * failed to create task run pod "jib-maven-run-nk8v2-build-24kq8": pods "jib-maven-run-nk8v2-build-24kq8-pod-2nxck" is forbidden: unable to validate against any security context constraint: [spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]. Maybe missing or invalid Task catalog-tests/jib-maven
      

      Steps to reproduce

      1. clone https://github.com/ppitonak/cluster-tasks-tests.git (branch release-1.4)
      2. run ./demo prepare
      3. run ./demo test jib-maven

              piyushgarg001 Piyush Garg
              ppitonak Pavol Pitoňák
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: