Kuadrant / policy-machinery

Machinery for implementing Gateway API policies
Apache License 2.0
8 stars 2 forks source link

controller: reconciliation state carryover #29

Closed guicassolato closed 6 days ago

guicassolato commented 1 week ago

Introduces an auxiliary sync.Map struct for carrying reconciliation state over throughout chained reconcile function calls. Provides a better alternative to mutating the context.

Makes it possible to replace the custom EffectivePoliciesReconciler from the Kuadrant example with a simple controller.Workflow.