Skip to content

Conversation

@mikkeloscar
Copy link
Member

In situations where an existing Postgresql cluster is deleted and a new cluster, with the same name, is created, then the operator can get "confused" because it still holds the internal state of the previous cluster.

To avoid operating on the old state, check if the UID matches and mark the cluster as not found if it doesn't.

@mikkeloscar mikkeloscar force-pushed the check-cluster-UID branch 4 times, most recently from 0d10330 to e0417c9 Compare January 12, 2026 18:03
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants