BUILD-275: add support for build csi volume source#210
BUILD-275: add support for build csi volume source#210jkhelil wants to merge 2 commits intoopenshift:masterfrom
Conversation
adambkaplan
left a comment
There was a problem hiding this comment.
@jkhelil generally on the right path here. You can get the build to pass by adding a commit which adds a replace to your go.mod file, referencing your code in openshift/api#1056
(note that your code is currently missing the deep copy functions, and will break as a result.)
|
flaking openshift-e2e-aws-builds-techpreview |
|
flaking e2e-gcp-builds |
gabemontero
left a comment
There was a problem hiding this comment.
You should put BUILD-275: in the beginning of your PR title. I know you reference it in the PR description, but having it in the title will help us when we have to search PRs in the future.
I do have a question for @adambkaplan in looking at the BUILD-275 acceptance criteria.
It mentions making sure that TechPreviewNoUpgrade feature gate is enabled.
However, the csiVolumesEnabled parameter to setupBuildVolumes is currently on based on only the BuildCSIVolumes feature gate.
See
openshift-controller-manager/pkg/cmd/controller/build.go
Lines 54 to 63 in ebe9867
@adambkaplan - should that code be changed to check both feature gates? I don't think that BuildCSIVolumes is automatically set to true if tech preview is on, but maybe I am "misremembering" .... and I don't recall exactly where you wired all that feature gate stuff up.
Otherwise @jkhelil you changes here look OK to me wrt wiring in CSI volumes. Though I think getting a review from @coreydaley since he did the introduction of build volumes in general would be good, in case I am missing something.
|
/assign @adambkaplan |
@adambkaplan assisted this old man's memory yesterday (including reminding me of the fact that I actually did some of this stuff, albeit more or less following his instructions ;-) ), and confirmed that only checking for So all good on this point. |
adambkaplan
left a comment
There was a problem hiding this comment.
/approve
Controller changes look good. Once the code for openshift/api is merged then we can use a proper commit to get the updated Build API object.
|
/hold Need openshift/api#1056 to merge, as well as an update to openshift/apiserver. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adambkaplan, jkhelil The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
/test verify |
|
@jkhelil: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
https://issues.redhat.com/browse/BUILD-275