eventing
eventing copied to clipboard
Sugar Reconciler doesn't delete sugared Brokers when resources or config are updated
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 thenamespace-sugar-selector
ORtrigger-sugar-selector
LabelSelectors don't apply to created Brokers.
Expected behavior The Brokers are cleaned up
To Reproduce
- Enable Sugar controller
- Create a namespace with injection label
eventing.knative.dev/injection: enabled
- Wait for a default Broker to be created
- 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
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
.
/remove-lifecycle stale /triage accepted