2017-03-17 19:56:25 +08:00
|
|
|
#!/bin/bash
|
|
|
|
{{ docker_bin_dir }}/docker run --rm \
|
|
|
|
--net=host \
|
|
|
|
--name=helm \
|
|
|
|
-v /etc/ssl:/etc/ssl:ro \
|
2017-04-21 10:51:27 +08:00
|
|
|
-v {{ helm_home_dir }}:{{ helm_home_dir }}:rw \
|
2017-03-17 19:56:25 +08:00
|
|
|
{% for dir in ssl_ca_dirs -%}
|
|
|
|
-v {{ dir }}:{{ dir }}:ro \
|
|
|
|
{% endfor -%}
|
|
|
|
{{ helm_image_repo }}:{{ helm_image_tag}} \
|
|
|
|
"$@"
|