Skip to content

Remove dependencies on k8s.io/kubernetes #1067

@msau42

Description

@msau42

What happened:
Packages from k8s.io/kubernetes were not designed to be imported and adds a lot of complexity to our dependency management where we need to inject "replace" statements into go.mod. It is also not supported by dependabot, which we would like to use to help automate our releases.

It looks like the dependencies are all coming from the e2e tests, which are importing the kubernetes e2e test framework libraries:
https://github.com/search?q=repo%3Akubernetes-csi%2Fexternal-provisioner+k8s.io%2Fkubernetes+path%3A*.go&type=code

@xing-yang I think we may want to move this out to its own repo, or maybe into the csi-test repo?

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions