summaryrefslogtreecommitdiffstats
path: root/roles/calico/templates/10-calico.conf.j2
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-05-23 16:50:15 -0500
committerGitHub <noreply@github.com>2017-05-23 16:50:15 -0500
commit8c57b7f62f6351d03c1e28d7cff88279fc16f88a (patch)
tree6dceeb4903444c9b61e15a41c1d09f238b8eced9 /roles/calico/templates/10-calico.conf.j2
parent807fc98a910dfed4e0c2f9ca7573564f5481aea8 (diff)
parent0b83281570dc7fb607c728fce37a8a0e9bd9fdea (diff)
downloadopenshift-8c57b7f62f6351d03c1e28d7cff88279fc16f88a.tar.gz
openshift-8c57b7f62f6351d03c1e28d7cff88279fc16f88a.tar.bz2
openshift-8c57b7f62f6351d03c1e28d7cff88279fc16f88a.tar.xz
openshift-8c57b7f62f6351d03c1e28d7cff88279fc16f88a.zip
Merge pull request #4230 from ozdanborne/fix-rename
Merged by openshift-bot
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"
+ }
+}