mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue (batch tested with PRs 36263, 36755, 37357, 37222, 37524) kubeadm: Implement support for symbolic labels in --use-kubernetes-version **What this PR does / why we need it**: This patch adds "stable", "latest" and other labels as valid versions in "kubeadm init --use-kubernetes-version" flag. Now, defaults can be pointing to "stable" and users will always get latest available stable build of Kubernetes via kubeadm. There is no need anymore to hardcode version string inside kubeadm binary. It is also possible to use labels like "latest" or point to exact branch: "stable-1.4" **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note - kubeadm init --use-kubernetes-version now understands "stable","latest", "stable-1.4" and other labels as valid version. It will fetch actual build number from release servers. ``` |
||
---|---|---|
.. | ||
BUILD | ||
error.go | ||
error_test.go | ||
kubeconfig.go | ||
kubeconfig_test.go | ||
tokens.go | ||
tokens_test.go | ||
version.go | ||
version_test.go |