Browse Source

Merge pull request #1762 from manics/bindir-helm

Include bin_dir when patching helm tiller with kubectl
pull/1767/merge
Spencer Smith 7 years ago
committed by GitHub
parent
commit
e5426f74a8
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