openshift-labs / starter-guides

Getting Started with OpenShift for Developers workshop
https://openshift-labs.github.io/starter-guides-html/
Apache License 2.0
136 stars 147 forks source link

Remove securityContext privillege from the s2i-java-11-binary task #198

Open mostmark opened 3 years ago

mostmark commented 3 years ago

When deploying the workshop to OCP 4.7 and using OpenShift Pipelines Operator >=1.4.1 the task s2i-java-11-binary fails with an error message. In the task securityContext: privileged: true entries needs to be removed.

In addition to this the buildah step needs to be modified to use the vfs storage driver (i.e. '--storage-driver=vfs' needs to be added as an agrument)