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

Skaffold should support pre/post lifecycle hooks for Cleanup #8308

Open
aaron-prindle opened this issue Jan 9, 2023 · 2 comments
Open

Skaffold should support pre/post lifecycle hooks for Cleanup #8308

aaron-prindle opened this issue Jan 9, 2023 · 2 comments

Comments

@aaron-prindle
Copy link
Contributor

aaron-prindle commented Jan 9, 2023

Issue tracks feature request for skaffold supporting pre/post lifecycle hooks for Cleanup step/phase. This way users could add custom cleanup code as necessary to extend/modify what skaffold does. This would likely involve adding similar UX/functionality to Skaffold's lifecycle pre/post hooks only extended to the Cleanup phase (also would require exposing a Cleanup phase) to allow for this

@netzere
Copy link

netzere commented Jan 22, 2023

We have the same use case as well.
Currently we have some pre skaffold script that makes some changes on the target cluster,
and we would like to run another script when stopping skaffold that will revert these cluster changes.

@darth-vader-66
Copy link

We have the same use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants