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

Any way to handle delete or purge actions? #294

Open
emcniece opened this issue Oct 9, 2023 · 4 comments
Open

Any way to handle delete or purge actions? #294

emcniece opened this issue Oct 9, 2023 · 4 comments
Labels
idle Inactive for 14 days

Comments

@emcniece
Copy link

emcniece commented Oct 9, 2023

Feature request

Hi, new user here, I've set up this action to apply to my private cluster and it works like a charm. Is there a recommended pattern for handling teardown or delete/purge removal of manifests? Do you perform a kubectl delete manually, or is there a way to do this with the action? Thanks for your ideas!

@github-actions
Copy link

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle Inactive for 14 days label Oct 23, 2023
@asgerjensen
Copy link

I think this is a fair question

I came from a helm-based deployment mechanism, where i could both see what was deployed via helm list and remove all assets from a deployment using helm delete

Aside from action: reject i dont see any way of removing all artifacts based on, say the helm release name.

I suppose there is some combination of kubectl get all --selector=label=releasename that could be used, but those do not seem to pick up all artifacts.

I use PR deployments to my cluster, so for every PR a deployment is made, with that PRs code, when the PR is merged I would like to clean up all those artifacts.

@github-actions github-actions bot removed the idle Inactive for 14 days label Nov 1, 2023
@OliverMKing
Copy link
Collaborator

We have plans to add a feature like this through apply-set based pruning.

Copy link

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle Inactive for 14 days label Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idle Inactive for 14 days
Projects
None yet
Development

No branches or pull requests

3 participants