Browse Source

Fix patch type in kubectl patch for hostnameOverride (#3725)

pull/3728/head
Erwan Miran 5 years ago
committed by k8s-ci-robot
parent
commit
1540bc9759
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 @@
register: current_kube_proxy_command register: current_kube_proxy_command
- name: Apply hostnameOverride patch for kube-proxy daemonset - name: Apply hostnameOverride patch for kube-proxy daemonset
shell: "{{bin_dir}}/kubectl patch ds kube-proxy --namespace=kube-system --type=strategic -p \"$(cat hostnameOverride-patch.json)\""
shell: "{{bin_dir}}/kubectl patch ds kube-proxy --namespace=kube-system --type=json -p \"$(cat hostnameOverride-patch.json)\""
args: args:
chdir: "{{ kubernetes_user_manifests_path }}" chdir: "{{ kubernetes_user_manifests_path }}"
register: patch_kube_proxy_command register: patch_kube_proxy_command

Loading…
Cancel
Save