summaryrefslogtreecommitdiffstats
path: root/roles/calico/templates/calicoctl.conf.j2
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-05-18 11:14:34 -0500
committerGitHub <noreply@github.com>2017-05-18 11:14:34 -0500
commit836147ba7f8f684f56c6b9e732c3778f1d0dab73 (patch)
tree4ff71c5785f5ea71c09362a7c038af0e2119c944 /roles/calico/templates/calicoctl.conf.j2
parentbf317d610b5a201c845fe337c88f2114a56ab1ad (diff)
parent6c85255ad4ec8ed25af2c9bdd717ce43e68e134c (diff)
downloadopenshift-836147ba7f8f684f56c6b9e732c3778f1d0dab73.tar.gz
openshift-836147ba7f8f684f56c6b9e732c3778f1d0dab73.tar.bz2
openshift-836147ba7f8f684f56c6b9e732c3778f1d0dab73.tar.xz
openshift-836147ba7f8f684f56c6b9e732c3778f1d0dab73.zip
Merge pull request #4142 from VincentS/Adjustment_Naming_Schema
Merged by openshift-bot
Diffstat (limited to 'roles/calico/templates/calicoctl.conf.j2')
-rw-r--r--roles/calico/templates/calicoctl.conf.j218
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/calico/templates/calicoctl.conf.j2 b/roles/calico/templates/calicoctl.conf.j2
new file mode 100644
index 000000000..3c8c6b046
--- /dev/null
+++ b/roles/calico/templates/calicoctl.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"
+ }
+}