c12s-kubespray/roles/kubernetes-apps/helm/templates/helm-container.j2

12 lines
291 B
Text
Raw Normal View History

2017-03-17 11:56:25 +00:00
#!/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 \
2017-03-17 11:56:25 +00:00
{% for dir in ssl_ca_dirs -%}
-v {{ dir }}:{{ dir }}:ro \
{% endfor -%}
{{ helm_image_repo }}:{{ helm_image_tag}} \
"$@"