From 8618a3119b77ed110a4212b79738302b2d9f4237 Mon Sep 17 00:00:00 2001 From: Florian Ruynat Date: Sat, 18 Apr 2020 09:41:35 +0200 Subject: [PATCH] Fix selector check for windows (#5974) --- roles/win_nodes/kubernetes_patch/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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