Skip to content
Snippets Groups Projects
Commit 1540bc97 authored by Erwan Miran's avatar Erwan Miran Committed by k8s-ci-robot
Browse files

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

parent 618ab93b
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
register: current_kube_proxy_command
- 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:
chdir: "{{ kubernetes_user_manifests_path }}"
register: patch_kube_proxy_command
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment