Closed darkmuggle closed 1 year ago
Do we want to pipe in allowing them to orphan their resources?
Do we want to pipe in allowing them to orphan their resources?
Yeah, implemented in the last push. The way I did it was to run not execute any hooks when orphan is set. The other way would be to upgrade and set the deletionPolicy, however that doesn't work with out a token file; it seemed crazy to require a token file to remove something. Since the delete is part of a hook, disabling the hook accomplished the same goal.
If you up space destroy --orphan
and then up space init
things start working again.
@tnthornton @branden if the last drop looks good, go ahead and merge.
Description of your changes
For Spaces destroy command:
upbound-system
namespace on destroyI have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR, as appropriate.How has this code been tested
Tested against v0.15.1 with Spaces