summaryrefslogtreecommitdiffstats
path: root/roles/calico/templates/calico.cfg.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/calico/templates/calico.cfg.j2')
-rw-r--r--roles/calico/templates/calico.cfg.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/calico/templates/calico.cfg.j2 b/roles/calico/templates/calico.cfg.j2
new file mode 100644
index 000000000..722385ed8
--- /dev/null
+++ b/roles/calico/templates/calico.cfg.j2
@@ -0,0 +1,9 @@
+apiVersion: v1
+kind: calicoApiConfig
+metadata:
+spec:
+ datastoreType: "etcdv2"
+ etcdEndpoints: "{{ etcd_endpoints }}"
+ etcdKeyFile: "{{ calico_etcd_key_file }}"
+ etcdCertFile: "{{ calico_etcd_cert_file }}"
+ etcdCaCertFile: "{{ calico_etcd_ca_cert_file }}"