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

helmsman --destroy #88

Closed
afoninsky opened this issue Sep 22, 2018 · 3 comments
Closed

helmsman --destroy #88

afoninsky opened this issue Sep 22, 2018 · 3 comments
Labels

Comments

@afoninsky
Copy link

Feature request: ability to delete infrastructure described in file.
Use case: possibility to use this command in CI/CD automatic integration tests

step1: bootstrap test environment
step2: perform integration tests
step3: remove test environment

Additional feature request: ability to add prefix or postfix to helm names via command line (so we can reuse one infrastructure file in various tests

@sami-alajrami
Copy link
Contributor

@afoninsky for the destroy option, I think it makes sense to delete only resources created by helmsman (currently the helm releases). Until better management is implemented for created namespaces/contexts etc. Would that work for you?

For the second feature, could the existing --ns-override work for you (overrides all releases namespaces with the one passed from command line) ?

@afoninsky
Copy link
Author

Sure, it would be good. Thank you.
ns overrides sounds good

sami-alajrami pushed a commit that referenced this issue Sep 26, 2018
@sami-alajrami
Copy link
Contributor

@afoninsky the --destroy option is added in #90 .
Please note, that the deletion of releases will respect the purge flag in the desired state file. i.e. only if purge is true for release A, then the destruction of A will be a purge delete.

mkubaczyk pushed a commit that referenced this issue Aug 18, 2023
mkubaczyk pushed a commit that referenced this issue Aug 18, 2023
adding destroy support. Fixes #88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants