Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the Instance finalizer only if the cleanup plan was successfully finished #1368

Merged
merged 1 commit into from
Feb 28, 2020

Conversation

zen-dog
Copy link
Contributor

@zen-dog zen-dog commented Feb 27, 2020

Summary:
We check IsFinished and not IsTerminal status condition for the cleanup plan so that the finalizer is not removed in the FatalError case. This way a human operator has to intervene and we don't leave garbage in the cluster.

Signed-off-by: Aleksey Dukhovniy alex.dukhovniy@googlemail.com

…ully finished

Summary:
We check `IsFinished` and **not** `IsTerminal` status condition for the `cleanup` plan so that the finalizer is not removed in the `FatalError` case. This way a human operator has to intervene and we don't leave garbage in the cluster.

Signed-off-by: Aleksey Dukhovniy <alex.dukhovniy@googlemail.com>
@nfnt nfnt merged commit 0620095 into master Feb 28, 2020
@nfnt nfnt deleted the ad/finalize-fatal-errors branch February 28, 2020 09:35
runyontr pushed a commit that referenced this pull request Mar 11, 2020
…ully finished (#1368)

We check `IsFinished` and **not** `IsTerminal` status condition for the `cleanup` plan so that the finalizer is not removed in the `FatalError` case. This way a human operator has to intervene and we don't leave garbage in the cluster.

Signed-off-by: Aleksey Dukhovniy <alex.dukhovniy@googlemail.com>
Signed-off-by: Thomas Runyon <runyontr@gmail.com>
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.

None yet

3 participants