-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the vendored sigs.k8s.io/controller-runtime package to v0.18.4, the latest release, which uses the k8s.io/* v0.30.1 packages. Bump the vendored k8s.io/client-go package to v0.30.2. A previous commit bumped the other k8s.io/* packages to v0.30.2 but left k8s.io/client-go at v0.29.0. However, controller-runtime v0.18.4 requires k8s.io/client-go v0.30.0 or newer because of a breaking change in the client-go leaderelection package. go get sigs.k8s.io/[email protected] go mod edit -replace=k8s.io/client-go=k8s.io/[email protected] go mod tidy go mod vendor Update calls to controller.Watch to adapt to breaking changes in controller-runtime. Namely, the handler and predicate arguments have been removed from Watch and are now specified as options on the source. Additionally, the source.Kind type now has a type parameter, so it is necessary to specify a client.Object type argument. Follow-up to commit fdb6215, which bumped the other k8s.io/* packages to v0.30.2. This commit fixes OCPBUGS-38079. https://issues.redhat.com/browse/OCPBUGS-38079 * go.mod: Bump. * go.sum: Regenerate. * pkg/operator/controller/canary/controller.go (New): * pkg/operator/controller/certificate-publisher/controller.go (New): * pkg/operator/controller/certificate/controller.go (New): * pkg/operator/controller/clientca-configmap/controller.go (New): * pkg/operator/controller/configurable-route/controller.go (New): * pkg/operator/controller/crl/controller.go (New): * pkg/operator/controller/dns/controller.go (New): * pkg/operator/controller/gateway-service-dns/controller.go (NewUnmanaged): * pkg/operator/controller/gatewayapi/controller.go (New): * pkg/operator/controller/gatewayapi/controller_test.go ((fakeController).Watch): * pkg/operator/controller/gatewayclass/controller.go (NewUnmanaged): * pkg/operator/controller/ingress/controller.go (New): * pkg/operator/controller/ingressclass/controller.go (New): * pkg/operator/controller/monitoring-dashboard/controller.go (New): * pkg/operator/controller/route-metrics/controller.go (New): * pkg/operator/controller/status/controller.go (New): * pkg/operator/controller/sync-http-error-code-configmap/controller.go (New): Update for the new controller.Watch and source.Kind type signatures. * vendor/*: Regenerate.
- Loading branch information
Showing
215 changed files
with
15,832 additions
and
1,990 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.