chore: get rid of k8s.io/kubernetes dep#334
chore: get rid of k8s.io/kubernetes dep#334k8s-ci-robot merged 2 commits intokubernetes-csi:masterfrom
Conversation
This dependency is problematic because of the many replaces it brings with it. This makes it hard to import external-snapshotter in 3rd party projects without having a lot of `replace` directives in those projects as well. The only usage of that import was to get two very simple utility functions so I copied them over to this repo.
|
Welcome @makkes! |
|
Hi @makkes. Thanks for your PR. I'm waiting for a kubernetes-csi member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
|
/assign @yuxiangqian |
|
/ok-to-test |
yuxiangqian
left a comment
There was a problem hiding this comment.
lgtm, two nits. thnx for fixing.
|
Thanks, @yuxiangqian for reviewing. I have addressed your comments and also added unit tests for the new utility funcs. |
Added the unit tests from https://github.com/kubernetes/kubernetes/blob/master/pkg/util/slice/slice_test.go (minus modifier tests) so we can be sure to not change behaviour.
a3a0694 to
04848c7
Compare
|
lgtm, will wait until all tests passed to approve. |
|
@yuxiangqian would you mind having another look, please? 🙇♂️ |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: makkes, yuxiangqian 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 |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
The k8s.io/kubernetes dependency is problematic because of the many replaces it brings with it. This makes it hard to import external-snapshotter in 3rd party projects without having a lot of
replacedirectives in those projects as well.The only usage of that import was to get two very simple utility functions so I copied them over to this repo.
Which issue(s) this PR fixes:
no issue
Special notes for your reviewer:
Does this PR introduce a user-facing change?: