From 9c6b48c1c34a73552f7351f0132f272f3473b351 Mon Sep 17 00:00:00 2001 From: Adrien Trouillaud Date: Mon, 29 Jun 2020 15:46:35 -0700 Subject: [PATCH] rm obsolete doc --- deps.md | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 deps.md diff --git a/deps.md b/deps.md deleted file mode 100644 index dc363cee0..000000000 --- a/deps.md +++ /dev/null @@ -1,27 +0,0 @@ -# How to Upgrade Deps -Kubernetes takes a pseudo-mono-repo approach to its dependencies. -Because of this, we need to have our go.mod do a bunch of rewrites, -in order to read the actual version - -## Steps -Set the versions of the top level dep `k8s.io/kubernetes` to the release. -A la: - -`k8s.io/kubernetes d32e40e20d167e103faf894261614c5b45c44198` - -Replace all of the "replace" the entries in go.mod with: - -`replace k8s.io/component-base => github.com/kubernetes/kubernetes/staging/src/k8s.io/component-base d32e40e20d167e103faf894261614c5b45c44198` - -You may need to add additional replace entries, based repository list in -the [kubernetes repository](https://github.com/kubernetes/kubernetes/tree/release-1.17/staging). - -You *must* use the sha, not a tag. The reason behind this is that git tags are handled -differently by go modules and they are prefixed with the module name. -More details about this can be found in the (go documentation)[https://github.com/golang/go/wiki/Modules#publishing-a-release] - -Once this is done, run go build ./... - - -### Notes -All of the k8s.io/* references in go.mod should reference v0.0.0 other than k8s.io/kubernetes