2b751c7d77
- 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
15 lines
309 B
Django/Jinja
15 lines
309 B
Django/Jinja
{
|
|
"name": "canal-k8s-network",
|
|
"type": "flannel",
|
|
"delegate": {
|
|
"type": "calico",
|
|
"etcd_endpoints": "{{ etcd_access_endpoint }}",
|
|
"log_level": "info",
|
|
"policy": {
|
|
"type": "k8s"
|
|
},
|
|
"kubernetes": {
|
|
"kubeconfig": "{{ kube_config_dir }}/node-kubeconfig.yaml"
|
|
}
|
|
}
|
|
}
|