crate.operator.handlers.handle_delete_cratedb module

async crate.operator.handlers.handle_delete_cratedb.delete_cratedb(namespace, name, logger)

Clean up cluster-scoped resources that cannot be garbage-collected via Kubernetes owner references.

Namespace-scoped resources (Services, Secrets, StatefulSets, etc.) are cleaned up automatically via owner references. However, SecurityContextConstraints are cluster-scoped and require explicit deletion here.

Parameters:
Return type:

None