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

fix(finalizer): remove finalizers when objects to delete not found #258

Merged
merged 1 commit into from
Sep 15, 2021

Conversation

ebaron
Copy link
Member

@ebaron ebaron commented Sep 14, 2021

Fixes #245

To test:

  • Run make deploy remove_cert_manager create_cryostat_cr IMG=<test_image>. This results in a Cryostat CR with a finalizer applied to it, but unable to proceed due to cert-manager missing.
  • Delete the Cryostat CR make destroy_cryostat_cr. Deletion should proceed without hanging.

@ebaron ebaron merged commit 4c813f3 into cryostatio:main Sep 15, 2021
mergify bot pushed a commit that referenced this pull request Sep 15, 2021
ebaron added a commit that referenced this pull request Sep 15, 2021
) (#259)

(cherry picked from commit 4c813f3)

Co-authored-by: Elliott Baron <ebaron@redhat.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.

Cryostat finalizer should succeed if objects not found
2 participants