-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove k8s.io/kubernetes deps and switch to go modules #216
Conversation
/cc @aveshagarwal this is what I'm thinking. It's an annoying number of helper funcs that need to just be copied over, but maybe we could just refactor their usage out anyway. /hold |
51def76
to
520cab4
Compare
/hold cancel |
@aveshagarwal do you have any feedback you could provide for this? It cuts down our vendored dependencies significantly, for adding only a few hundred lines of copied util functions |
I will review it soon. |
5b37f9f
to
cc92eaa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@damemi have you run "go mod tidy"? |
/hold |
@aveshagarwal yes, and I just ran it again to double check after rebasing on master. No changes |
/approve @aveshagarwal - Please unhold once you're fine with the changes. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: damemi, ravisantoshgudimetla The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold off |
/hold cancel |
Remove k8s.io/kubernetes deps and switch to go modules
The ultimate goal of this PR is to switch to go modules. The easiest way to do that is to break our dependency on
k8s.io/kubernetes
. A lot of our usage of it is relatively simple helper methods and constants that can be easily copied to our ownutils
package, or variables that are available in external apis anyway.Fixes #207, #200