contiv-etcd-init image as default instead hardcoded
This commit is contained in:
parent
c4b1808983
commit
2a4fc70e1c
2 changed files with 4 additions and 1 deletions
|
@ -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 %}
|
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 %}
|
{%- endfor %}
|
||||||
|
|
||||||
|
contiv_etcd_init_image_repo: ferest/etcd-initer
|
||||||
|
contiv_etcd_init_image_tag: latest
|
||||||
|
|
||||||
# Parameters for Contiv api-proxy
|
# Parameters for Contiv api-proxy
|
||||||
contiv_enable_api_proxy: true
|
contiv_enable_api_proxy: true
|
||||||
contiv_api_proxy_port: 10000
|
contiv_api_proxy_port: 10000
|
||||||
|
|
|
@ -26,7 +26,7 @@ spec:
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: contiv-etcd-init
|
- name: contiv-etcd-init
|
||||||
image: ferest/etcd-initer:latest
|
image: {{ contiv_etcd_init_image_repo }}:{{ contiv_etcd_init_image_tag }}
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: ETCD_INIT_ARGSFILE
|
- name: ETCD_INIT_ARGSFILE
|
||||||
|
|
Loading…
Reference in a new issue