Skip to content

Check cluster UID#3019

Draft
mikkeloscar wants to merge 2 commits intomasterfrom
check-cluster-UID
Draft

Check cluster UID#3019
mikkeloscar wants to merge 2 commits intomasterfrom
check-cluster-UID

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 5 times, most recently from e0417c9 to 140f6be Compare January 13, 2026 16:25
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