Feat: kubeadm images download support v1beta4

Currently there is not much difference between the files, if there are more changes in the future,
please use different files to distinguish them (you can use the kubeadm_config_api_version variable)

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
pull/11674/head
ChengHao Yang 2024-11-05 20:02:20 +08:00
parent 1ec6711e95
commit bf01b73578
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
apiVersion: kubeadm.k8s.io/v1beta3 apiVersion: kubeadm.k8s.io/{{ kubeadm_config_api_version }}
kind: InitConfiguration kind: InitConfiguration
nodeRegistration: nodeRegistration:
criSocket: {{ cri_socket }} criSocket: {{ cri_socket }}
--- ---
apiVersion: kubeadm.k8s.io/v1beta3 apiVersion: kubeadm.k8s.io/{{ kubeadm_config_api_version }}
kind: ClusterConfiguration kind: ClusterConfiguration
imageRepository: {{ kube_image_repo }} imageRepository: {{ kube_image_repo }}
kubernetesVersion: {{ kube_version }} kubernetesVersion: {{ kube_version }}