k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
500 B
16 lines
500 B
#!/bin/bash
|
|
{{ docker_bin_dir }}/docker run --rm \
|
|
--net=host \
|
|
--name=helm \
|
|
-v /etc/ssl:/etc/ssl:ro \
|
|
-v {{ helm_home_dir }}:{{ helm_home_dir }}:rw \
|
|
{% for dir in ssl_ca_dirs -%}
|
|
-v {{ dir }}:{{ dir }}:ro \
|
|
{% endfor -%}
|
|
{% if http_proxy is defined or https_proxy is defined -%}
|
|
-e http_proxy="{{proxy_env.http_proxy}}" \
|
|
-e https_proxy="{{proxy_env.https_proxy}}" \
|
|
-e no_proxy="{{proxy_env.no_proxy}}" \
|
|
{% endif -%}
|
|
{{ helm_image_repo }}:{{ helm_image_tag}} \
|
|
"$@"
|