Unable to delete Trident project that was installed in offline mode
Applies to
- NetApp Astra Trident
- OpenShift
- Manually delete Trident project installed in offline mode
- Trident has been partially deleted with the following commands:
    - oc delete deployment trident-operator -n trident
- oc delete clusterroles.rbac.authorization.k8s.io trident-operator
- oc delete clusterrolebindings.rbac.authorization.k8s.io "trident-operator"
- oc delete serviceaccount trident-operator
- oc delete CustomResourceDefinition tridentorchestrators.trident.netapp.io
- oc delete CustomResourceDefinition tridentactionmirrorupdates.trident.netapp.io
 
Issue
- oc delete project tridentcannot delete Trident project
- oc get project trident -o yamlreports- Some resources are remaining
Example:
$ oc get project trident -o yaml
...
 - lastTransitionTime: "2024-07-11T00:08:51Z"
    message: 'Some resources are remaining: tridentnodes.trident.netapp.io has 9 resource
      instances, tridentstorageclasses.trident.netapp.io has 1 resource instances,
      tridentversions.trident.netapp.io has 1 resource instances'
    reason: SomeResourcesRemain
    status: "True"
    type: NamespaceContentRemaining
...
