mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-30 22:16:23 -02:30
fix: correct CiliumBGPNodeConfigOverride CRD wait condition and deprecate legacy BGP Peering Policy (#13366)
* fix: correct CiliumBGPNodeConfigOverride CRD wait condition and deprecate legacy BGP Peering Policy - Fix copy-paste bug where cilium_bgp_advertisements was used instead of cilium_bgp_node_config_overrides when waiting for the CiliumBGPNodeConfigOverride CRD. This caused the CRD readiness check to be skipped when only node config overrides were configured. - Add deprecation notices across docs, sample inventory, and defaults to guide users away from the legacy v2alpha1 CiliumBGPPeeringPolicy toward the supported BGP v2 API variables. * fix(cilium): simplify BGP node override condition
This commit is contained in:
@@ -212,7 +212,7 @@
|
||||
failed_when: false
|
||||
when:
|
||||
- inventory_hostname == groups['kube_control_plane'][0]
|
||||
- cilium_bgp_advertisements is defined and (cilium_bgp_advertisements|length>0)
|
||||
- cilium_bgp_node_config_overrides != []
|
||||
|
||||
- name: Cilium | Create CiliumBGPNodeConfigOverride manifests
|
||||
template:
|
||||
|
||||
Reference in New Issue
Block a user