ironcore-dev / metalnet

Kubernetes controller managing dpservice networking resources
Apache License 2.0
0 stars 2 forks source link

`NetworkPeeringStatus` gets overwritten by subsequent reconcile loops #256

Closed kasabe28 closed 2 months ago

kasabe28 commented 2 months ago

Describe the bug Metalnet Networks NetworkPeeringStatus field gets overwritten by next reconcile loop. In first reconcile loop NetworkPeeringStatus shows expected outcome, but in next reconcile loops it shows empty status.

To Reproduce

  1. Create 2 ironcore networks peering each other.
  2. Keep watch on metalnet networks NetworkPeeringStatus. It will show status once and then disappears.

Expected behavior NetworkPeeringStatus should remain same in next reconcile loops also, if there is no change in peerings.