Merge pull request #2822 from mirwan/contiv_etcd_init_image
contiv-etcd-init image as default instead hardcoded
This commit is contained in:
commit
164122555d
2 changed files with 11 additions and 1 deletions
|
@ -105,6 +105,8 @@ contiv_image_repo: "contiv/netplugin"
|
|||
contiv_image_tag: "{{ contiv_version }}"
|
||||
contiv_auth_proxy_image_repo: "contiv/auth_proxy"
|
||||
contiv_auth_proxy_image_tag: "{{ contiv_version }}"
|
||||
contiv_etcd_init_image_repo: "ferest/etcd-initer"
|
||||
contiv_etcd_init_image_tag: latest
|
||||
cilium_image_repo: "docker.io/cilium/cilium"
|
||||
cilium_image_tag: "{{ cilium_version }}"
|
||||
nginx_image_repo: nginx
|
||||
|
@ -383,6 +385,14 @@ downloads:
|
|||
sha256: "{{ contiv_auth_proxy_digest_checksum|default(None) }}"
|
||||
groups:
|
||||
- k8s-cluster
|
||||
contiv_etcd_init:
|
||||
enabled: "{{ kube_network_plugin == 'contiv' }}"
|
||||
container: true
|
||||
repo: "{{ contiv_etcd_init_image_repo }}"
|
||||
tag: "{{ contiv_etcd_init_image_tag }}"
|
||||
sha256: "{{ contiv_etcd_init_digest_checksum|default(None) }}"
|
||||
groups:
|
||||
- k8s-cluster
|
||||
pod_infra:
|
||||
enabled: true
|
||||
container: true
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue