summaryrefslogtreecommitdiffstats
path: root/roles/calico/templates/10-calico.conf.j2
diff options
context:
space:
mode:
authorDan Osborne <djosborne10@gmail.com>2017-05-18 17:35:17 -0700
committerDan Osborne <djosborne10@gmail.com>2017-05-18 17:35:17 -0700
commit0b83281570dc7fb607c728fce37a8a0e9bd9fdea (patch)
tree3b24968279b51a3d5ba7c2e64ae8cb6421443b63 /roles/calico/templates/10-calico.conf.j2
parentbe064f7be58d905874e8ebc34c8f270841b49887 (diff)
downloadopenshift-0b83281570dc7fb607c728fce37a8a0e9bd9fdea.tar.gz
openshift-0b83281570dc7fb607c728fce37a8a0e9bd9fdea.tar.bz2
openshift-0b83281570dc7fb607c728fce37a8a0e9bd9fdea.tar.xz
openshift-0b83281570dc7fb607c728fce37a8a0e9bd9fdea.zip
Fix renaming error with calico template files
Diffstat (limited to 'roles/calico/templates/10-calico.conf.j2')
-rw-r--r--roles/calico/templates/10-calico.conf.j218
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/calico/templates/10-calico.conf.j2 b/roles/calico/templates/10-calico.conf.j2
new file mode 100644
index 000000000..3c8c6b046
--- /dev/null
+++ b/roles/calico/templates/10-calico.conf.j2
@@ -0,0 +1,18 @@
+{
+ "name": "calico",
+ "type": "calico",
+ "ipam": {
+ "type": "calico-ipam"
+ },
+ "etcd_endpoints": "{{ etcd_endpoints }}",
+ "etcd_key_file": "{{ calico_etcd_key_file }}",
+ "etcd_cert_file": "{{ calico_etcd_cert_file }}",
+ "etcd_ca_cert_file": "{{ calico_etcd_ca_cert_file }}",
+ "kubernetes": {
+ "kubeconfig": "{{ kubeconfig }}"
+ },
+ "hostname": "{{ openshift.common.hostname }}",
+ "policy": {
+ "type": "k8s"
+ }
+}