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

pull/3185/head
Erwan Miran 2018-08-27 17:55:32 +02:00
parent 7efe287c74
commit b652792a93
1 changed files with 1 additions and 0 deletions

View File

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