BUILD-281: add library-go watch/update of new OCM feature gate field#227
Conversation
|
|
||
| replace vbom.ml/util => github.com/fvbommel/util v0.0.0-20180919145318-efcd4e0f9787 | ||
|
|
||
| replace github.com/openshift/api => github.com/gabemontero/api v0.0.0-20210910154316-eaa29e1f16df |
There was a problem hiding this comment.
this captures the latest state of openshift/api#1007
when that merges, we'll just change the version for openshift/api up above
|
|
||
| replace github.com/openshift/api => github.com/gabemontero/api v0.0.0-20210910154316-eaa29e1f16df | ||
|
|
||
| replace github.com/openshift/library-go => github.com/gabemontero/library-go v0.0.0-20210910154638-8565ba189275 |
There was a problem hiding this comment.
this captures the latest state of openshift/library-go#1201
when that merges, we'll just change the version for openshift/library-go up above
| network.ObserveExternalIPAutoAssignCIDRs, | ||
| deployimages.ObserveControllerManagerImagesConfig, | ||
| //TODO when https://github.com/openshift/api/pull/982 merges we can add "CSIDriverSharedResource" to that | ||
| // currently includes "BuildCSIVolumes" |
There was a problem hiding this comment.
@adambkaplan - conceivably, we don't need both CSIDriverSharedResource that you cited in BUILD-292 and BuildCSIVolumes that you cited in BUILD-281, unless you think CSI shared resource stuff could move out of tech preview mode in a release prior to when Build's consumption of it move out of tech preview mode.
There was a problem hiding this comment.
UPDATE: @adambkaplan and I talked and he reminded me that long term we will want to support multiple CSI volume types for builds
hence the multiple feature gates do make sense.
|
the e2e-aws-operator failure needs investigation .... not immediately apparent to me what caused that |
|
Probably related to
|
|
Full stack: |
5502a71 to
9355044
Compare
|
now down to unrelated sig flakes /test e2e-aws |
|
/test e2e-upgrade |
|
/retest |
|
/test e2e-aws |
9355044 to
f96d2d9
Compare
745b53f to
11ae14a
Compare
|
/assign @adambkaplan OK I've vendored in the merged openshift/api and openshift/library-go changes for our new openshiftcontrolplane feature gate []string field |
11ae14a to
be69d56
Compare
|
e2e-aws perm fail seems unrelated ... let's see /test e2e-aws |
|
/retest |
1 similar comment
|
/retest |
adambkaplan
left a comment
There was a problem hiding this comment.
/approve
Nits on the underscore, but otherwise looks good.
| BuildConfigLister configlistersv1.BuildLister | ||
| ConfigMapLister corelistersv1.ConfigMapLister | ||
| NetworkLister configlistersv1.NetworkLister | ||
| FeatureGateLister_ configlistersv1.FeatureGateLister |
There was a problem hiding this comment.
Accidental underscore?
| FeatureGateLister_ configlistersv1.FeatureGateLister | |
| FeatureGateLister configlistersv1.FeatureGateLister |
| } | ||
|
|
||
| func (l Listers) FeatureGateLister() configlistersv1.FeatureGateLister { | ||
| return l.FeatureGateLister_ |
There was a problem hiding this comment.
| return l.FeatureGateLister_ | |
| return l.FeatureGateLister |
| builds.ObserveBuildControllerConfig, | ||
| network.ObserveExternalIPAutoAssignCIDRs, | ||
| deployimages.ObserveControllerManagerImagesConfig, | ||
| featuregates.NewObserveFeatureFlagsFunc(sets.NewString("BuildCSIVolumes"), sets.String{}, []string{"featureGates"}), |
| ImageConfigLister: configInformers.Config().V1().Images().Lister(), | ||
| BuildConfigLister: configInformers.Config().V1().Builds().Lister(), | ||
| NetworkLister: configInformers.Config().V1().Networks().Lister(), | ||
| FeatureGateLister_: configInformers.Config().V1().FeatureGates().Lister(), |
There was a problem hiding this comment.
| FeatureGateLister_: configInformers.Config().V1().FeatureGates().Lister(), | |
| FeatureGateLister: configInformers.Config().V1().FeatureGates().Lister(), |
|
/assign @jkhelil Assigning follow up review to Jawed since he looked into the build controller enhancement before sprint planning. |
underscores are actually needed @adambkaplan or you get a compile error (method / field name the same) after getting stuck with this, I saw the analogous fix in the kube api server controller I'll try and (re)find the link |
yeah here is the link: https://github.com/openshift/cluster-kube-apiserver-operator/blob/master/pkg/operator/configobservation/interfaces.go#L17-L24 |
|
/lgtm |
1 similar comment
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adambkaplan, gabemontero, 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 |
build csi volumes (to facilitate builds with RH entitlements) and the underlying csi driver shared resource CSO operator are tech preview feature gate items for the upcoming release