/root/.kube must to mounted in order for helm to read kubeconfig and not fallback to localhost:8080
This commit is contained in:
parent
7efe287c74
commit
b652792a93
1 changed files with 1 additions and 0 deletions
|
@ -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 -%}
|
||||||
|
|
Loading…
Reference in a new issue