From af26a01d63a9d1089c40494bf20d691ab5fdcb09 Mon Sep 17 00:00:00 2001 From: liy <81213315+liyu36@users.noreply.github.com> Date: Fri, 11 Nov 2022 12:42:47 +0800 Subject: [PATCH] Create calico-v3.19.yaml.j2 --- roles/calico/templates/calico-v3.19.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/calico/templates/calico-v3.19.yaml.j2 b/roles/calico/templates/calico-v3.19.yaml.j2 index 78f7a6f..d04f6f3 100644 --- a/roles/calico/templates/calico-v3.19.yaml.j2 +++ b/roles/calico/templates/calico-v3.19.yaml.j2 @@ -43,7 +43,7 @@ data: "etcd_endpoints": "{{ ETCD_ENDPOINTS }}", "etcd_key_file": "/etc/calico/ssl/calico-key.pem", "etcd_cert_file": "/etc/calico/ssl/calico.pem", - "etcd_ca_cert_file": "/etc/kubernetes/ssl/ca.pem", + "etcd_ca_cert_file": "{{ ca_dir }}/ca.pem", "mtu": 1500, "ipam": { "type": "calico-ipam"