Update default k8s version to 1.29 #1010
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello 👋
It seems that support for Kubernetes versions 1.20 through 1.25 were recently removed from k8s-libsonnet by this commit: jsonnet-libs/k8s-libsonnet@90d0fae. Since then,
tk init
(without the--k8s
flag set) fails by default since the files for 1.20 are no longer available. See example below.$ tk init GET https://github.com/jsonnet-libs/k8s-libsonnet/archive/bf9a62cfd32a58c071b8410bfcdec058475dd25e.tar.gz 200 panic: rename /Users/root/project/vendor/.tmp/28d5d0cf4e0847d16afe3035627683a62705765237/1.20 /Users/root/project/vendor/github.com/jsonnet-libs/k8s-libsonnet/1.20: no such file or directory [...] Installing k.libsonnet: exit status 2
I've proposed updating the
defaultK8sVersion
flag for the init command to instead use the latest stable version, 1.29.Cheers!