Skip to content
Snippets Groups Projects
Commit 2bde9bea authored by FengyunPan's avatar FengyunPan
Browse files

Specify a dir and attach it to helm for HELM_HOME

parent c2c334d2
No related branches found
No related tags found
No related merge requests found
helm_enabled: false helm_enabled: false
# specify a dir and attach it to helm for HELM_HOME.
helm_home_dir: "/root/.helm"
--- ---
- name: Helm | Make sure HELM_HOME directory exists
file: path={{ helm_home_dir }} state=directory
- name: Helm | Set up helm launcher - name: Helm | Set up helm launcher
template: template:
src: helm-container.j2 src: helm-container.j2
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
--net=host \ --net=host \
--name=helm \ --name=helm \
-v /etc/ssl:/etc/ssl:ro \ -v /etc/ssl:/etc/ssl:ro \
-v {{ helm_home_dir }}:{{ helm_home_dir }}:rw \
{% for dir in ssl_ca_dirs -%} {% for dir in ssl_ca_dirs -%}
-v {{ dir }}:{{ dir }}:ro \ -v {{ dir }}:{{ dir }}:ro \
{% endfor -%} {% endfor -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment