Merge pull request #1762 from manics/bindir-helm

Include bin_dir when patching helm tiller with kubectl
This commit is contained in:
Spencer Smith 2017-10-10 10:40:47 -04:00 committed by GitHub
commit e5426f74a8

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