mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-31 06:26:19 -02:30
fix: ansible 2.19: calico resources final evaluation (#13503)
The bgp changes are a bit verbose, because I chose to reproduce the exact semantics of the current code, so that the manifest handed to calicoctl does not contain unset fields (instead of just using defaults value). It would be more readable to just accept default value in the manifests, but might be a problem if there is other writer of the same Calico resources.
This commit is contained in:
@@ -241,9 +241,6 @@ cilium_identity_allocation_mode: crd
|
||||
# https://docs.cilium.io/en/stable/concepts/networking/ipam/
|
||||
cilium_ipam_mode: cluster-pool
|
||||
|
||||
# Determines if calico_rr group exists
|
||||
peer_with_calico_rr: "{{ 'calico_rr' in groups and groups['calico_rr'] | length > 0 }}"
|
||||
|
||||
# Choose data store type for calico: "etcd" or "kdd" (kubernetes datastore)
|
||||
calico_datastore: "kdd"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user