|
|
@ -50,6 +50,7 @@ |
|
|
|
{% 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_secure_release_info %} --override 'spec.template.spec.containers[0].command'='{/tiller,--storage=secret}' {% endif %} |
|
|
|
{% if tiller_wait %} --wait{% endif %} |
|
|
|
{% else %} |
|
|
|
--client-only |
|
|
|
{% endif %} |
|
|
@ -70,6 +71,7 @@ |
|
|
|
{% 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_secure_release_info %} --override 'spec.template.spec.containers[0].command'='{/tiller,--storage=secret}' {% endif %} |
|
|
|
{% if tiller_wait %} --wait{% endif %} |
|
|
|
--output yaml |
|
|
|
| {{bin_dir}}/kubectl apply -f - |
|
|
|
changed_when: false |
|
|
|