summaryrefslogtreecommitdiffstats
path: root/roles/calico/templates/calico.service.j2
diff options
context:
space:
mode:
authorDan Osborne <djosborne10@gmail.com>2017-05-19 14:49:52 -0700
committerDan Osborne <djosborne10@gmail.com>2017-05-24 16:20:04 -0700
commit854a77ce23135f0ef27c79338b48aa53e49d8202 (patch)
treea4c296302c48002d384b298e43d5749480e821d0 /roles/calico/templates/calico.service.j2
parent8c57b7f62f6351d03c1e28d7cff88279fc16f88a (diff)
downloadopenshift-854a77ce23135f0ef27c79338b48aa53e49d8202.tar.gz
openshift-854a77ce23135f0ef27c79338b48aa53e49d8202.tar.bz2
openshift-854a77ce23135f0ef27c79338b48aa53e49d8202.tar.xz
openshift-854a77ce23135f0ef27c79338b48aa53e49d8202.zip
Support byo etcd for calico
Diffstat (limited to 'roles/calico/templates/calico.service.j2')
-rw-r--r--roles/calico/templates/calico.service.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/calico/templates/calico.service.j2 b/roles/calico/templates/calico.service.j2
index 719d7ba0d..302c5f34e 100644
--- a/roles/calico/templates/calico.service.j2
+++ b/roles/calico/templates/calico.service.j2
@@ -13,8 +13,8 @@ ExecStart=/usr/bin/docker run --net=host --privileged \
-e CALICO_IPV4POOL_IPIP={{ calico_ipv4pool_ipip }} \
-e CALICO_IPV4POOL_CIDR={{ calico_ipv4pool_cidr }} \
-e FELIX_IPV6SUPPORT=false \
- -e ETCD_ENDPOINTS={{ etcd_endpoints }} \
- -v /etc/origin/calico:/etc/origin/calico \
+ -e ETCD_ENDPOINTS={{ calico_etcd_endpoints }} \
+ -v {{ calico_etcd_cert_dir }}:{{ calico_etcd_cert_dir }} \
-e ETCD_CA_CERT_FILE={{ calico_etcd_ca_cert_file }} \
-e ETCD_CERT_FILE={{ calico_etcd_cert_file }} \
-e ETCD_KEY_FILE={{ calico_etcd_key_file }} \