Skip to main content

Prevent Deletion

One can prevent namespace deletion by following one of the two methods:

  1. Navigate to the Projects section using the menu on the left.

  2. Select the project and then the namespace you want to prevent deletion for.

  3. Either click on the button or select the dropdown next to an existing namespace and select the Edit option.

  4. Navigate to Advanced section on the left.

  5. Select the Prevent Deletion expander and tick the "enable deletion prevention" checkbox.

  6. Click on the button to save the changes or the button, when creating a new namespace.

note

If you want to delete this namespace in the future, you need to remove the label either in the YAML manifest or through the toggle in the UI. Once you have done this, you can delete the namespace as usual.