Description of problem:
Builds do not support CSI volumes as volume sources.
Version-Release number of selected component (if applicable): 4.10
Verified csi volume with build
$ oc logs pod/build-csi-volume-1-build
time="2022-01-21T07:14:27Z" level=warning msg="Adding metacopy option, configured globally"
STEP 3/6: RUN echo -e "$(cat /run/secrets/secret-verify/username)\n"
"[sig-builds][Feature:Builds][volumes] csi build volumes within Tech Preview enabled cluster" tests are causing techpreview e2e jobs to fail since the origin PR merged, e.g.
Moving this to MODIFIED - we're past code freeze, QE has already verified this feature set manually.
I have re-verified the steps manually with 4.11.0-0.nightly-2022-01-27-182501 release. And it worked as expected.
$ oc get build
NAME TYPE FROM STATUS STARTED DURATION
build-csi-volume-1 Docker Dockerfile Complete 19 seconds ago 13s
$ oc get pod
NAME READY STATUS RESTARTS AGE
build-csi-volume-1-build 0/1 Completed 0 13s
$ oc logs build/build-csi-volume-1
STEP 3/6: RUN echo -e "$(cat /run/secrets/verify-secret/username)\n"
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.