-
Notifications
You must be signed in to change notification settings - Fork 3
Helm temporary directory is not cleaned up. #964
Copy link
Copy link
Open
Labels
BugA error that causes the feature to behave differently than what was expected based on design docsA error that causes the feature to behave differently than what was expected based on design docsPending TriageNew issue that needs to be triaged by the teamNew issue that needs to be triaged by the team
Metadata
Metadata
Assignees
Labels
BugA error that causes the feature to behave differently than what was expected based on design docsA error that causes the feature to behave differently than what was expected based on design docsPending TriageNew issue that needs to be triaged by the teamNew issue that needs to be triaged by the team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
🆕 New
Bill of Materials or CLI Version
No response
Execution Environment
JUnit Extensions
Slf4j Logging Implementation
None
To Reproduce
Describe the bug
The helm client extracts the helm executable to a temporary directory, and this temporary directory is not cleaned up.
Describe the expected behavior
The temporary directory should be cleaned up.
Would be nice if client implemented
AutoCloseableand cleaned up after itself insideclose().Whole JUnit/CLI Logs
Additional Context
Example directory name is
HelmSoftwareLoader4512790602684642253and it contains the helm executable.The issue may be that File::deleteOnExit fails to remove a non-empty directory.