eventing icon indicating copy to clipboard operation
eventing copied to clipboard

Sugar Reconciler doesn't delete sugared Brokers when resources or config are updated

Open xtreme-sameer-vohra opened this issue 2 years ago • 2 comments

Describe the bug The sugar reconciler doesn't delete created Brokers if

  • Namespace/Trigger that was responsible for the default Broker creation is modified such that it doesn't have the injection label or even deleted
  • The config-sugar.yaml configmap is updated such that the namespace-sugar-selector OR trigger-sugar-selector LabelSelectors don't apply to created Brokers.

Expected behavior The Brokers are cleaned up

To Reproduce

  1. Enable Sugar controller
  2. Create a namespace with injection label eventing.knative.dev/injection: enabled
  3. Wait for a default Broker to be created
  4. Modify the namespace and remove the injection label

Also, 5. Same can be be reproduced with using a Trigger for injecting a Broker

Knative release version v1.2

Additional context Add any other context about the problem here such as proposed priority

xtreme-sameer-vohra avatar Mar 12 '22 17:03 xtreme-sameer-vohra

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Jun 13 '22 01:06 github-actions[bot]

/remove-lifecycle stale /triage accepted

pierDipi avatar Jun 13 '22 06:06 pierDipi