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: check secret exists before trying to read or delete it #384

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

shreddedbacon
Copy link
Member

Just a quick one to check that the secret of an ingress exists before trying to access it to verify if it needs to be deleted.

Also ensure that the name of the secret is correctly used, not with the -tls suffix, as this is already in the variable.

@shreddedbacon shreddedbacon added this to the 2.22.0 milestone Oct 15, 2024
@shreddedbacon shreddedbacon marked this pull request as ready for review October 15, 2024 06:32
Copy link
Member

@tobybellwood tobybellwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice easy change, ok to merge

@shreddedbacon shreddedbacon merged commit d039fc9 into main Oct 21, 2024
2 checks passed
@shreddedbacon shreddedbacon deleted the fix-tls-challenge-cleanup branch October 21, 2024 21:02
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.

2 participants