dragonflydb / dragonfly-operator

A Kubernetes operator to install and manage Dragonfly instances.
https://www.dragonflydb.io/docs/managing-dragonfly/operator/installation
Apache License 2.0
144 stars 34 forks source link

fix(updates): re-run loop when update is made #110

Closed Pothulapati closed 1 year ago

Pothulapati commented 1 year ago

Fixes https://github.com/dragonflydb/dragonfly-operator/issues/93

Currently, We sometimes miss updates when we compare the statefulset version. This could be stale as update couldn't have propogated already.

This PR fixes that by requeuing the object when an update is made, so that we retreive the latest version when ran again.