Browse Source

Include bin_dir when patching helm tiller with kubectl

pull/1762/head
Simon Li 7 years ago
parent
commit
c14bbcdbf2
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes-apps/helm/tasks/main.yml

2
roles/kubernetes-apps/helm/tasks/main.yml

@ -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

Loading…
Cancel
Save