Summary
Operator's BGP code paths talk to cilium.io/v2alpha1 (CiliumBGPAdvertisement, CiliumCIDRGroup). Cilium has shipped cilium.io/v2 as GA since 1.16 and plans to remove v2alpha1 in a future release. The current operator emits Cilium's deprecation warning on every BGP reconcile:
INFO cilium.io/v2alpha1 CiliumBGPAdvertisement is deprecated; use cilium.io/v2 CiliumBGPAdvertisement
INFO cilium.io/v2alpha1 CiliumCIDRGroup is deprecated; use cilium.io/v2 CiliumCIDRGroup
Suggested fix
Migrate the BGP/CIDR-group consumer code to cilium.io/v2. The deprecated alias should still resolve during the transition; new code can target v2 directly.
Once Cilium drops v2alpha1 (no firm date but it's marked for removal), the operator will break for users on that Cilium version.
Spotted on v0.0.2 in production. Separate from #19 (log spam — even after the migration the deprecation warning shouldn't fire per-reconcile, but that's a logging concern).
Summary
Operator's BGP code paths talk to
cilium.io/v2alpha1(CiliumBGPAdvertisement, CiliumCIDRGroup). Cilium has shippedcilium.io/v2as GA since 1.16 and plans to removev2alpha1in a future release. The current operator emits Cilium's deprecation warning on every BGP reconcile:Suggested fix
Migrate the BGP/CIDR-group consumer code to
cilium.io/v2. The deprecated alias should still resolve during the transition; new code can target v2 directly.Once Cilium drops v2alpha1 (no firm date but it's marked for removal), the operator will break for users on that Cilium version.
Spotted on v0.0.2 in production. Separate from #19 (log spam — even after the migration the deprecation warning shouldn't fire per-reconcile, but that's a logging concern).