Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Update to Kubernetes 1.19, remove k8s.io/kubernetes dependency, unpin gnostic #292

Merged
merged 4 commits into from
Mar 9, 2021

Conversation

q3k
Copy link
Contributor

@q3k q3k commented Nov 3, 2020

This change cleans up multiple small things around kubecfg's build/dependencies.

First, we remove the dependency on k8s.io/kubernetes, which is not supported by the Kubernetes developers. We re-pin all client k8s.io/* libraries to Kubernetes 1.19.3.

We remove the github.com/googleapis/gnostic 0.4.0 rename as the issue has since been fixed upstream.

We then fix the command code to pass contexts to Kubernetes client calls that now require a context.

Finally, we update the vendor directory.

@mkmik
Copy link
Contributor

mkmik commented Nov 3, 2020

thanks!

@q3k
Copy link
Contributor Author

q3k commented Nov 3, 2020

Ah! Looks like I didn't try the integration tests. Let me fix that up real quick.

@mkmik
Copy link
Contributor

mkmik commented Dec 10, 2020

@q3k any chance you can resurrect this, I'd really love to merge it

@q3k
Copy link
Contributor Author

q3k commented Jan 30, 2021

@mkmik Sure, let me take a stab at this again.

The last package to come from k8s.io/kubernetes was
kubectl/cmd/util/openapi, which has since been moved to k8s.io/util.

We update to Kubernetes 1.19, remove the direct dependency on
k8s.io/kubernetes (now only using client code from other k8s.io repos),
and unpin gnostic to the newest version.
@q3k
Copy link
Contributor Author

q3k commented Mar 8, 2021

@mkmik Friendly ping, is there something blocking this merge again? :)

@mkmik
Copy link
Contributor

mkmik commented Mar 9, 2021

@q3k no sorry, I just didn't see any notification about your pushes last month :-(

@mkmik mkmik merged commit 53f6639 into vmware-archive:master Mar 9, 2021
github.com/google/gofuzz v1.1.0 // indirect
github.com/googleapis/gnostic v0.4.0
github.com/golang/protobuf v1.4.3
github.com/google/go-jsonnet v0.15.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just noticed that this reverted go-jsonnet back to 0.15 after we released kubecfg 0.17.0 which had go-jsonnet 0.17.0
🤦

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants