016f1fc447fdc5dc77784bb2cb4a6ed31f20a7cd
Extract duplicate deletion code from pod and container routes into reusable helper functions in deletion_helpers.py module: - collect_and_cleanup_network_ports() for network port cleanup - cleanup_workload_related_records() for resource/volume cleanup - log_deletion_audit_event() for consistent audit logging Add SDN network port updates during pod deletion to ensure proper network cleanup when containers are removed. Optimize get_pods() endpoint by replacing N+1 queries with batch queries and lookup maps for nscontrollers, tunnels, and DNS records. Enhance get_pod() response to include cloudflare tunnel configuration and DNS records for better visibility into pod networking setup.
Description
No description provided
1.9 MiB