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

Set timeout for uninstall client so delete hooks don't hang. #153

Merged
merged 1 commit into from Nov 21, 2022

Conversation

bobh66
Copy link
Contributor

@bobh66 bobh66 commented Nov 18, 2022

Signed-off-by: Bob Haddleton bob.haddleton@nokia.com

Description of your changes

Set the uninstall client timeout and wait parameters to the specified args,

The default timeout is null which causes the helm client to wait forever for delete hooks which may never complete if the cluster has been deleted.

Fixes #151

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Soaked in our development environment for a week, which usually sees the problem multiple times.

Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
Copy link
Collaborator

@turkenh turkenh left a comment

Choose a reason for hiding this comment

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

Thanks a lot @bobh66 👍

@turkenh turkenh merged commit 2153863 into crossplane-contrib:master Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants