Files
kubernetes/test/e2e_node
aditya 888c785092 Fix startup probe worker termination for sidecar containers
Fixes a bug where startup probe workers terminate incorrectly for sidecar
containers with restartPolicy=Always when the pod has restartPolicy=Never,
causing main containers to remain stuck in Initializing state.

Changes:
- Add container-level restart policy check for init containers only
- Extract complex boolean logic to named variable for readability
- Refactor test helper to use existing newWorker() function
- Add comprehensive unit and e2e tests for both scenarios
2025-10-22 23:17:53 +00:00
..
2024-12-02 16:59:34 +01:00
2023-11-01 15:17:34 +01:00
2025-03-21 15:54:22 +00:00