Skip to content

Remove finalizer in case of exception #320

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

Conversation

ppatierno
Copy link
Contributor

This PR should fix #310 removing the finalizer in case of exception when trying to apply it on the resource but operation on the k8s server API fails.

@metacosm
Copy link
Collaborator

That's actually the first approach I thought of but I thought that the deeper issue was the fact that things were being caches as if the update had occurred even though they didn't. I'm planning on trying to capture this faulty behavior in a test.

@ppatierno
Copy link
Contributor Author

Yeah the problem is that the code about caching is not reached at all when the failure happens as I wrote in your PR.

@csviri csviri closed this Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Controller create/update handling called even if exception when applying finalizer
3 participants