diff --git a/roles/calico/templates/calico-v3.23.yaml.j2 b/roles/calico/templates/calico-v3.23.yaml.j2 index c5df3a3..c0a740e 100644 --- a/roles/calico/templates/calico-v3.23.yaml.j2 +++ b/roles/calico/templates/calico-v3.23.yaml.j2 @@ -46,7 +46,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"