From ea2e886799c402e6c1f01fc3279c49e05c562e2b Mon Sep 17 00:00:00 2001 From: alecsandru Date: Sat, 4 May 2024 20:27:42 +0000 Subject: [PATCH] Update 'k8s/upgrde_26_27.yml' --- k8s/upgrde_26_27.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/upgrde_26_27.yml b/k8s/upgrde_26_27.yml index f0feb45..3d62827 100644 --- a/k8s/upgrde_26_27.yml +++ b/k8s/upgrde_26_27.yml @@ -50,7 +50,7 @@ - name: Pulling new container images shell: "kubeadm config images pull" - name: Apply upgrade plan - shell: "sudo kubeadm upgrade apply -y v1.27.13 >> /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}}" + shell: "sudo kubeadm upgrade apply -y {{ K8S_TARGET_MINOR }} >> /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}}" args: creates: /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}} - name: Unhold kubelet