diff --git a/k8s/upgrde_26_27.yml b/k8s/upgrde_26_27.yml index 9f09dfa..e2dff91 100644 --- a/k8s/upgrde_26_27.yml +++ b/k8s/upgrde_26_27.yml @@ -42,6 +42,6 @@ args: creates: /etc/kubernetes/upgrade_plan_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}} - name: Apply upgrade plan - shell: "sudo kubeadm upgrade apply v1.27.13 >> /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}}" + shell: "sudo kubeadm upgrade apply -y v1.27.13 >> /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}}" args: creates: /etc/kubernetes/upgrade_ops_{{ K8S_SOURCE_VERSION}}_{{ K8S_TARGET_VERSION}} \ No newline at end of file