summaryrefslogtreecommitdiffstats
path: root/roles/calico/templates/calico.conf.j2
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-03-27 22:28:40 -0500
committerGitHub <noreply@github.com>2017-03-27 22:28:40 -0500
commita502b675936b617515ae7a00228aa62f1ec5bc53 (patch)
treefac00fa6dee431cc92ac92610387def9b8aeb155 /roles/calico/templates/calico.conf.j2
parenta22e780b21eacf9ae7fc067d9f26e1a01c1d4558 (diff)
parent7aa584b59baba5a7018d38aadd19aa7646702391 (diff)
downloadopenshift-a502b675936b617515ae7a00228aa62f1ec5bc53.tar.gz
openshift-a502b675936b617515ae7a00228aa62f1ec5bc53.tar.bz2
openshift-a502b675936b617515ae7a00228aa62f1ec5bc53.tar.xz
openshift-a502b675936b617515ae7a00228aa62f1ec5bc53.zip
Merge pull request #3038 from djosborne/calico
Merged by openshift-bot
Diffstat (limited to 'roles/calico/templates/calico.conf.j2')
-rw-r--r--roles/calico/templates/calico.conf.j218
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/calico/templates/calico.conf.j2 b/roles/calico/templates/calico.conf.j2
new file mode 100644
index 000000000..3c8c6b046
--- /dev/null
+++ b/roles/calico/templates/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"
+ }
+}