rhobs / observability-operator

Create Monitoring Stacks you need on your Kubernetes clusters!
32 stars 55 forks source link

Updating UIPlugin resource status causes the reconciliation to loop #564

Open iNecas opened 4 weeks ago

iNecas commented 4 weeks ago

I've noticed that when enabling the UIPlugin, the operator does one reconciliation after another.

It seems the problem is due to always setting the conditions with new last transition time timestamp, leading to new generation of the resource and new reconciliation loop.

https://github.com/rhobs/observability-operator/blob/main/pkg/controllers/uiplugin/controller.go#L214.

I suspect other stacks have similar issue as well.

simonpasquier commented 1 week ago

Late here but is there a COO ticket for this issue?

jgbernalp commented 1 week ago

I just created one: https://issues.redhat.com/browse/COO-385