Browse Source

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 2 weeks ago
parent
commit
bf01b73578
Failed to extract signature
1 changed files with 2 additions and 2 deletions
  1. 4
      roles/download/templates/kubeadm-images.yaml.j2

4
roles/download/templates/kubeadm-images.yaml.j2

@ -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 }}

Loading…
Cancel
Save