Specify a dir and attach it to helm for HELM_HOME
This commit is contained in:
parent
986a89be66
commit
4ef76e0c75
3 changed files with 7 additions and 0 deletions
|
@ -1 +1,4 @@
|
||||||
helm_enabled: false
|
helm_enabled: false
|
||||||
|
|
||||||
|
# specify a dir and attach it to helm for HELM_HOME.
|
||||||
|
helm_home_dir: "/root/.helm"
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
---
|
---
|
||||||
|
- 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 @@
|
||||||
--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 -%}
|
||||||
|
|
Loading…
Reference in a new issue