tilt icon indicating copy to clipboard operation
tilt copied to clipboard

Preventing deletion of Namespace

Open bittermandel opened this issue 1 year ago • 1 comments

Describe the Feature You Want

We use Tilt to replicate a entire production, which means somewhere around 5+ operators, 10 services and more. I'd like for namespaces to not be managed by Tilt, or marked to never be deleted. It's really annoying when Tilt removes our Ory namespace, resetting all user data as it deletes PVCs and CNPG clusters as well.

Current Behavior

If one of our users hard refresh something (accidentally or intentionally), all k8s resources managed by that tilt resource is deleted.

Why Do You Want This?

As mentioned before, we use Tilt to replicate one of our production clusters. We really love Tilt and would like to use it more, but it's so easy to make mistakes and accidentally remove all state. Would be great if we can mark namespace_create or such with a never_delete=True flag or such.

bittermandel avatar Jun 24 '24 20:06 bittermandel

thanks for the report! i thought we already had a feature request for this but maybe it was just for the tilt down behavior - https://github.com/tilt-dev/tilt/issues/3160

nicks avatar Jun 25 '24 18:06 nicks