Commit fe1fc4f4 authored by Geoff Simmons's avatar Geoff Simmons

Rolling back to k8s client libs v0.16.15, giving up on go get for now.

Trying to make go get for this repo work has been a dependency
nightmare; if there's a way for it to work at all (and I haven't had
proof that there is), it's far more effort and pain than it's worth.

Newer versions of the k8s libs have dependencies that evidently
require Go 1.16. Apart from the complications that may arise from
migrating the language version:

- Go 1.16 is currently not provided in the package repos for distros
such as Debian.

- go get -d under Go 1.16 downloads the source to directories under
$GOPATH/pkg/mod/ with the version in the directory name. This can cause
scripts running go get to break, since they have to get the version
name exactly right. Source code download is necessary for packages
that cannot be built with go build alone (for example if they require
a make command).

- go get -d under Go 1.16 appparently doesn't download go.mod for
some reason, which may make a build impossible.

On the other hand, git clone && make install for this repo just
works.

At least we're upgrading to a newer 0.16.x micro version than was
previously supported.
parent c9d99762
......@@ -8,11 +8,11 @@ require (
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/google/uuid v1.1.2 // indirect
github.com/googleapis/gnostic v0.3.1 // indirect
github.com/json-iterator/go v1.1.10 // indirect
github.com/kr/pretty v0.2.0 // indirect
github.com/onsi/ginkgo v1.11.0 // indirect
github.com/onsi/gomega v1.7.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/sirupsen/logrus v1.6.0
github.com/stretchr/testify v1.6.1 // indirect
......@@ -27,9 +27,9 @@ require (
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect
k8s.io/api v0.17.17
k8s.io/apimachinery v0.17.17
k8s.io/client-go v0.17.17
k8s.io/api v0.16.15
k8s.io/apimachinery v0.16.15
k8s.io/client-go v0.16.15
k8s.io/klog/v2 v2.4.0 // indirect
k8s.io/utils v0.0.0-20201110183641-67b214c5f920 // indirect
sigs.k8s.io/yaml v1.2.0 // indirect
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment