Unable to Forcibly delete Project or Namespace as dedicated-admin
Issue
-
Permission error is returned
~ curl -k -H "Content-Type: application/json" -X PUT --data-binary @test-finalizer.json http://127.0.0.1:8001/api/v1/namespaces/test-finalizer/finalize { "kind": "Status", "apiVersion": "v1", "metadata": { }, "status": "Failure", "message": "namespaces \"test-finalizer\" is forbidden: User \"dedadmin@example.com\" cannot update resource \"namespaces/finalize\" in API group \"\" in the namespace \"test-finalizer\"", "reason": "Forbidden", "details": { "name": "test-finalizer", "kind": "namespaces" }, "code": 403 }%
Environment
- Red Hat Openshift Dedicated (OSD)
- 4
- Red Hat Managed Integration (RHMI)
- 2
- Namespace failed to delete with
oc delete project dev --force --grace-period=0
- All attempts to remove dependencies have been done and project still won't delete
- Attempting to remove a finalizer in the namespace JSON or YAML
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.