<p>Is it possible to prevent project deletion in OpenShift?</p>

<p>I have some projects that must not be deleted. Sure I can recreate any projects that were accidentally deleted but there would still be an outage.</p>

<p>I've read through a lot of docs but haven't come across anything yet. Haven't found anything on preventing namespace deletion in Kubernetes either. I'm hoping I missed something.</p>

Everett Toews
<p>You can prevent deletion by certain users but not deletion in general. A good starting point for Authorization in Openshift might be </p>

<p><a href="https://docs.okd.io/3.9/architecture/additional_concepts/authorization.html" rel="nofollow noreferrer">https://docs.okd.io/3.9/architecture/additional_concepts/authorization.html</a></p>

<p>This means you should have a user or group of users who you trust to not delete a project by accident and ordinary user who create and destroy objects inside this project but can not destroy it by themself.</p>

<p>Hope this helps.</p>
