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

Buildah: Privileged containers are not allowed

XMLWordPrintable

    • False
    • False
    • Undefined

      Expected behavior

      Pipeline using buildah or buildah-pr cluster task from 1.2 will continue working without modifications in 1.3

      Actual behavior
      The following error appears in events, task is not created

      1 error occurred: * failed to create task run pod "buildah-run-mrcsh-run-buildah-qp2kk": pods "buildah-run-mrcsh-run-buildah-qp2kk-pod-jdsvq" 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[1].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[1].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]. Maybe missing or invalid Task catalog-tests/buildah 
      

      Steps to reproduce
      1. install OpenShift 4.7, install Pipelines 1.3
      2. run the pipeline from https://github.com/ppitonak/cluster-tasks-tests/tree/release-v1.2/buildah

              pradkuma PRADEEP KUMAR (Inactive)
              ppitonak Pavol Pitoňák
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: