mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-16 08:27:31 -02:30
Update Calico to 2.4.1 release.
- Switched Calico images to be pulled from quay.io - Updated Canal too
This commit is contained in:
@@ -11,6 +11,7 @@ ExecStart={{ docker_bin_dir }}/docker run --net=host --privileged \
|
||||
-e HOSTNAME=${CALICO_HOSTNAME} \
|
||||
-e IP=${CALICO_IP} \
|
||||
-e IP6=${CALICO_IP6} \
|
||||
-e CLUSTER_TYPE=${CLUSTER_TYPE} \
|
||||
-e CALICO_NETWORKING_BACKEND=${CALICO_NETWORKING_BACKEND} \
|
||||
-e FELIX_DEFAULTENDPOINTTOHOSTACTION={{ calico_endpoint_to_host_action|default('RETURN') }} \
|
||||
-e AS=${CALICO_AS} \
|
||||
|
||||
@@ -4,6 +4,11 @@ ETCD_CERT_FILE="{{ calico_cert_dir }}/cert.crt"
|
||||
ETCD_KEY_FILE="{{ calico_cert_dir }}/key.pem"
|
||||
CALICO_IP="{{ip | default(ansible_default_ipv4.address) }}"
|
||||
CALICO_IP6=""
|
||||
{% if calico_network_backend is defined and calico_network_backend == 'none' %}
|
||||
CLUSTER_TYPE="kubespray"
|
||||
{% else %}
|
||||
CLUSTER_TYPE="kubespray,bgp"
|
||||
{% endif %}
|
||||
{% if calico_network_backend is defined %}
|
||||
CALICO_NETWORKING_BACKEND="{{calico_network_backend }}"
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user