Any way to handle delete or purge actions?
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!
This issue is idle because it has been open for 14 days with no activity.
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.
We have plans to add a feature like this through apply-set based pruning.
This issue is idle because it has been open for 14 days with no activity.