diff --git a/roles/win_nodes/kubernetes_patch/tasks/main.yml b/roles/win_nodes/kubernetes_patch/tasks/main.yml index 98af1c5a9..8d838686f 100644 --- a/roles/win_nodes/kubernetes_patch/tasks/main.yml +++ b/roles/win_nodes/kubernetes_patch/tasks/main.yml @@ -19,7 +19,7 @@ command: >- {{ bin_dir }}/kubectl --kubeconfig {{ kube_config_dir }}/admin.conf get ds kube-proxy --namespace=kube-system - -o jsonpath='{.spec.template.spec.nodeSelector.beta\.kubernetes\.io/os}' + -o jsonpath='{.spec.template.spec.nodeSelector.kubernetes\.io/os}' register: current_kube_proxy_state retries: 60 delay: 5