Browse Source

Fix selector check for windows (#5974)

pull/5982/head
Florian Ruynat 4 years ago
committed by GitHub
parent
commit
8618a3119b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/win_nodes/kubernetes_patch/tasks/main.yml

2
roles/win_nodes/kubernetes_patch/tasks/main.yml

@ -19,7 +19,7 @@
command: >- command: >-
{{ bin_dir }}/kubectl --kubeconfig {{ kube_config_dir }}/admin.conf {{ bin_dir }}/kubectl --kubeconfig {{ kube_config_dir }}/admin.conf
get ds kube-proxy --namespace=kube-system 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 register: current_kube_proxy_state
retries: 60 retries: 60
delay: 5 delay: 5

Loading…
Cancel
Save