-
Bug
-
Resolution: Done
-
Critical
-
Pipelines 1.4
-
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
- clone https://github.com/ppitonak/cluster-tasks-tests.git (branch release-1.4)
- run ./demo prepare
- run ./demo test jib-maven