Apply etcd_extra_vars to etcd-events.env as well. (#4219)

This change ensures that etcd_extra_vars variable applies
to events etcd as well.
This commit is contained in:
Stas 2019-05-02 21:24:27 +02:00 committed by Kubernetes Prow Robot
parent 24b6698cc9
commit 50bdaa573c

View file

@ -31,6 +31,10 @@ ETCD_PEER_CERT_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}.pem
ETCD_PEER_KEY_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}-key.pem ETCD_PEER_KEY_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}-key.pem
ETCD_PEER_CLIENT_CERT_AUTH={{ etcd_peer_client_auth }} ETCD_PEER_CLIENT_CERT_AUTH={{ etcd_peer_client_auth }}
{% for key, value in etcd_extra_vars.items() %}
{{ key }}={{ value }}
{% endfor %}
{% if host_architecture != "amd64" -%} {% if host_architecture != "amd64" -%}
ETCD_UNSUPPORTED_ARCH={{host_architecture}} ETCD_UNSUPPORTED_ARCH={{host_architecture}}
{%- endif %} {%- endif %}