kubernetes: Should never allow vendored packages to reference k8s.io/kubernetes packages
vendor/k8s.io/heapster imports pkg/api/unversioned
, which prevents refactors. Previously we imported rkt which imported pkg/resource
, preventing a refactor.
We need a global import rule that any package that is vendored that references something in k8s.io/kubernetes needs to vendor or copy that dependency.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 30 (27 by maintainers)
We can’t have it both ways… If we want people to import our packages, we have to make strong compat guarantees. If we want to dodge strong compat guarantees, we can’t allow people to import…
On Mon, Nov 28, 2016 at 5:02 PM, Clayton Coleman notifications@github.com wrote: