cni: Update CNI download URLs to use new GCS bucket (k8s-artifacts-cni)

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
This commit is contained in:
Stephen Augustus
2019-07-09 12:03:31 -04:00
parent f5a008746a
commit 96f2588b61
8 changed files with 24 additions and 18 deletions

View File

@@ -31,7 +31,8 @@ const (
cniArch = "amd64"
cniDirectory = "cni/bin" // The CNI tarball places binaries under directory under "cni/bin".
cniConfDirectory = "cni/net.d"
cniURL = "https://dl.k8s.io/network-plugins/cni-plugins-" + cniArch + "-" + cniVersion + ".tgz"
// TODO(justaugustus): Post-0.7.5 CNI needs a "cni-plugins-linux-" prefix
cniURL = "https://storage.googleapis.com/k8s-artifacts-cni/release/" + cniVersion + "/" + "cni-plugins-" + cniArch + "-" + cniVersion + ".tgz"
)
const cniConfig = `{