summaryrefslogtreecommitdiffstats
path: root/roles/calico/templates/calicoctl.conf.j2
diff options
context:
space:
mode:
authorVincent Schwarzer <vincent.schwarzer@yahoo.de>2017-05-10 14:23:04 +0200
committerVincent Schwarzer <vincent.schwarzer@yahoo.de>2017-05-18 12:05:53 +0200
commit6c85255ad4ec8ed25af2c9bdd717ce43e68e134c (patch)
tree8a4cb4bf4a5292a608c1b3a47a621e3f99c7f0cb /roles/calico/templates/calicoctl.conf.j2
parente748591d96c64560c94f141a178b9f719a28721a (diff)
downloadopenshift-6c85255ad4ec8ed25af2c9bdd717ce43e68e134c.tar.gz
openshift-6c85255ad4ec8ed25af2c9bdd717ce43e68e134c.tar.bz2
openshift-6c85255ad4ec8ed25af2c9bdd717ce43e68e134c.tar.xz
openshift-6c85255ad4ec8ed25af2c9bdd717ce43e68e134c.zip
Adjusted Naming Schema of Calico Roles
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"
+ }
+}