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

Preventing deletion of Namespace #6405

Open
bittermandel opened this issue Jun 24, 2024 · 1 comment
Open

Preventing deletion of Namespace #6405

bittermandel opened this issue Jun 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@bittermandel
Copy link

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 bittermandel added the enhancement New feature or request label Jun 24, 2024
@nicks
Copy link
Member

nicks commented Jun 25, 2024

thanks for the report! i thought we already had a feature request for this but maybe it was just for the tilt down behavior - #3160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants