Include bin_dir when patching helm tiller with kubectl

This commit is contained in:
Simon Li 2017-09-18 18:43:44 +01:00
parent d13b07ba59
commit c14bbcdbf2

View file

@ -36,7 +36,7 @@
when: helm_container.changed
- name: Helm | Patch tiller deployment for RBAC
command: kubectl patch deployment tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}' -n {{ system_namespace }}
command: "{{bin_dir}}/kubectl patch deployment tiller-deploy -p '{\"spec\":{\"template\":{\"spec\":{\"serviceAccount\":\"tiller\"}}}}' -n {{ system_namespace }}"
when: rbac_enabled
- name: Helm | Set up bash completion