contiv-etcd-init image as default instead hardcoded

This commit is contained in:
Erwan Miran 2018-05-28 11:11:18 +02:00
parent c4b1808983
commit 2a4fc70e1c
2 changed files with 4 additions and 1 deletions

View file

@ -15,6 +15,9 @@ contiv_etcd_endpoints: |-
contiv_etcd{{ loop.index }}=http://{{ hostvars[host]['ip'] | default(hostvars[host].ansible_default_ipv4['address']) }}:{{ contiv_etcd_peer_port }}{% if not loop.last %},{% endif %}
{%- endfor %}
contiv_etcd_init_image_repo: ferest/etcd-initer
contiv_etcd_init_image_tag: latest
# Parameters for Contiv api-proxy
contiv_enable_api_proxy: true
contiv_api_proxy_port: 10000

View file

@ -26,7 +26,7 @@ spec:
effect: NoSchedule
initContainers:
- name: contiv-etcd-init
image: ferest/etcd-initer:latest
image: {{ contiv_etcd_init_image_repo }}:{{ contiv_etcd_init_image_tag }}
imagePullPolicy: Always
env:
- name: ETCD_INIT_ARGSFILE