Browse Source

/root/.kube must to mounted in order for helm to read kubeconfig and not fallback to localhost:8080

pull/3185/head
Erwan Miran 6 years ago
parent
commit
b652792a93
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/kubernetes-apps/helm/templates/helm-container.j2

1
roles/kubernetes-apps/helm/templates/helm-container.j2

@ -2,6 +2,7 @@
{{ docker_bin_dir }}/docker run --rm \
--net=host \
--name=helm \
-v /root/.kube:/root/.kube:ro \
-v /etc/ssl:/etc/ssl:ro \
-v {{ helm_home_dir }}:{{ helm_home_dir }}:rw \
{% for dir in ssl_ca_dirs -%}

Loading…
Cancel
Save