Add an option for helm init --wait (#4202)
This commit is contained in:
parent
9a91ef8628
commit
6a33411d65
2 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,9 @@ helm_home_dir: "/root/.helm"
|
||||||
# Deployment mode: host or docker
|
# Deployment mode: host or docker
|
||||||
helm_deployment_type: host
|
helm_deployment_type: host
|
||||||
|
|
||||||
|
# Wait until Tiller is running and ready to receive requests
|
||||||
|
tiller_wait: false
|
||||||
|
|
||||||
# Do not download the local repository cache on helm init
|
# Do not download the local repository cache on helm init
|
||||||
helm_skip_refresh: false
|
helm_skip_refresh: false
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
{% if tiller_max_history is defined %} --history-max={{ tiller_max_history }}{% endif %}
|
{% if tiller_max_history is defined %} --history-max={{ tiller_max_history }}{% endif %}
|
||||||
{% if tiller_enable_tls %} --tiller-tls --tiller-tls-verify --tiller-tls-cert={{ tiller_tls_cert }} --tiller-tls-key={{ tiller_tls_key }} --tls-ca-cert={{ tiller_tls_ca_cert }} {% endif %}
|
{% if tiller_enable_tls %} --tiller-tls --tiller-tls-verify --tiller-tls-cert={{ tiller_tls_cert }} --tiller-tls-key={{ tiller_tls_key }} --tls-ca-cert={{ tiller_tls_ca_cert }} {% endif %}
|
||||||
{% if tiller_secure_release_info %} --override 'spec.template.spec.containers[0].command'='{/tiller,--storage=secret}' {% endif %}
|
{% if tiller_secure_release_info %} --override 'spec.template.spec.containers[0].command'='{/tiller,--storage=secret}' {% endif %}
|
||||||
|
{% if tiller_wait %} --wait{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
--client-only
|
--client-only
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -70,6 +71,7 @@
|
||||||
{% if tiller_max_history is defined %} --history-max={{ tiller_max_history }}{% endif %}
|
{% if tiller_max_history is defined %} --history-max={{ tiller_max_history }}{% endif %}
|
||||||
{% if tiller_enable_tls %} --tiller-tls --tiller-tls-verify --tiller-tls-cert={{ tiller_tls_cert }} --tiller-tls-key={{ tiller_tls_key }} --tls-ca-cert={{ tiller_tls_ca_cert }} {% endif %}
|
{% if tiller_enable_tls %} --tiller-tls --tiller-tls-verify --tiller-tls-cert={{ tiller_tls_cert }} --tiller-tls-key={{ tiller_tls_key }} --tls-ca-cert={{ tiller_tls_ca_cert }} {% endif %}
|
||||||
{% if tiller_secure_release_info %} --override 'spec.template.spec.containers[0].command'='{/tiller,--storage=secret}' {% endif %}
|
{% if tiller_secure_release_info %} --override 'spec.template.spec.containers[0].command'='{/tiller,--storage=secret}' {% endif %}
|
||||||
|
{% if tiller_wait %} --wait{% endif %}
|
||||||
--output yaml
|
--output yaml
|
||||||
| {{bin_dir}}/kubectl apply -f -
|
| {{bin_dir}}/kubectl apply -f -
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
Loading…
Reference in a new issue