mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
Fix etcd ssl for canal
- Move CNI configuration from `kubernetes/node` role to `network_plugin/canal` - Create SSL dir for Canal and symlink etcd SSL files - Add needed options to `canal-config` configmap - Run flannel and calico-node containers with proper configuration
This commit is contained in:
@@ -20,3 +20,8 @@ data:
|
||||
|
||||
# Cluster name for Flannel etcd path
|
||||
cluster_name: "{{ cluster_name }}"
|
||||
|
||||
# SSL Etcd configuration
|
||||
etcd_cafile: "{{ canal_cert_dir }}/ca_cert.crt"
|
||||
etcd_certfile: "{{ canal_cert_dir }}/cert.crt"
|
||||
etcd_keyfile: "{{ canal_cert_dir }}/key.pem"
|
||||
|
||||
Reference in New Issue
Block a user