remove go.mod dependency on k8s.io/kubernetes #11871
Labels
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
currently in our go.mod we are depending on
which is not a good idea to use the whole kubernetes project as a lib, we currently only use a few "Constants" and feature gate types (to validate if a feature gate is valid)
I would suggest we copy those constants from kubernetes source code to our own constants file in constants package maybe k8s_constants.go
we cna update once a while manually using make target, to copy/update those constants from k8s source code.
and then remove the dependency to k8s.io/kubernetes in our go mod
The text was updated successfully, but these errors were encountered: