improve "make update-kubeadm-constants" to go over "Patch" versions of kuberentes #13338
Labels
kind/improvement
Categorizes issue or PR as related to improving upon a current feature.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
we have an automation for bumping the kubeadm constants,
thats runs as a cron job in github action
https://github.com/kubernetes/minikube/blob/master/.github/workflows/update-kubadm-constants.yml
that creates a PR like this
#13336
the code for the script is in
https://github.com/kubernetes/minikube/blob/master/hack/update/kubeadm_constants/update_kubeadm_constants.go
the current code goes over kubernetes Minor Versions (1.22, 1.23,...)
and then downloads the kubeadm for that minior version and then runs "config images list"
I noticed for 1.24 it still using
then @afbjorklund pointed out that we should pass the --kuberntes-version to the
$ ./kubeadm config images list
commandwhich gives us this:
so we need to change our automation to go over all releases of kubernetes (including patched versions)
and run the
this will make a huge constants file but since it is auto-generated it is okay.
and this will make preload tar bals accurate and user wont have to re-download the image again
The text was updated successfully, but these errors were encountered: