28073c76ac
* calico: add constant calico_min_version_required and verify current deployed version against it. * calico: remove upgrade support with data migration The tool was used pre v3.0.0 and is no longer needed. * calico: remove old version support from tasks * calico: remove old ver support from policy ctrl * calico: remove old ver support from node * canal: remove old ver support * remove unused calicoctl download checksums calico_min_version_required is the oldest version that can be installed Older versions can be removed.
31 lines
746 B
Django/Jinja
31 lines
746 B
Django/Jinja
{
|
|
"name": "cni0",
|
|
"cniVersion":"0.3.1",
|
|
"plugins":[
|
|
{
|
|
"type": "flannel",
|
|
"delegate": {
|
|
"type": "calico",
|
|
"include_default_routes": true,
|
|
"etcd_endpoints": "{{ etcd_access_addresses }}",
|
|
"etcd_key_file": "{{ canal_cert_dir }}/key.pem",
|
|
"etcd_cert_file": "{{ canal_cert_dir }}/cert.crt",
|
|
"etcd_ca_cert_file": "{{ canal_cert_dir }}/ca_cert.crt",
|
|
"log_level": "info",
|
|
"log_file_path": "/var/log/calico/cni/cni.log",
|
|
"policy": {
|
|
"type": "k8s"
|
|
},
|
|
"kubernetes": {
|
|
"kubeconfig": "__KUBECONFIG_FILEPATH__"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type":"portmap",
|
|
"capabilities":{
|
|
"portMappings":true
|
|
}
|
|
}
|
|
]
|
|
}
|