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.

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