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: requeue reconcile event when secret deletion fails #10

Merged
merged 3 commits into from
Aug 18, 2023
Merged

Conversation

ikadix
Copy link
Contributor

@ikadix ikadix commented Jul 25, 2023

This introduces a test around the deletion of the generated secret and ensuring it deletes the secret.

This also introduces a requeue in the return case for an error in the secret deletion process.
This also adds a condition on the addition of a finalizer to prevent attempting to add one when the generated secret has been deleted, this should remove a large amount of error logs.

Fixes #9

@ikadix ikadix requested a review from adamcooke July 25, 2023 14:58
@ikadix ikadix merged commit 4cba4a3 into main Aug 18, 2023
3 checks passed
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.

GeneratedSecret Secret not being deleted when GeneratedSecret is deleted
2 participants