-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addresses aws-controllers-k8s/community#1719 This patch updates `k8s.io/{apimachinery|api|client-go}` to `v0.26.1` and fixes the generated/usage of the mocks used for unit testing. Note that `controller-runtime/pkg/client/StatusWriter` is no longer declared properly, and [is a copy of `SubResourceWriter` now.](https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/client/interfaces.go#L132-L133) Changes to the mocks: - Brings and uses `SubResourceWriter` instead of `StatusWriter` - Removes `TestMetaV1ObjectEqual_ClusterName` (deprecated field) and test `TestMetaV1ObjectEqual_RemainingItemCount` instead - Get rid of unused mock files (`rm -rf ./mocks && make mocks`) Changes to the go modules: - Pin `k8s.io/{apimachinery|api|client-go}` to `v0.26.1` - `go mod tidy` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
- Loading branch information
Showing
18 changed files
with
518 additions
and
979 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
Oops, something went wrong.