Fix containerNameToRef func to get init containers and ephemeral containers properly. Set EphemeralContainers in generatePodCopyWithDebugContainer func to nil which means dropping ephemeral containers from a copy of pod so that it can be created successfully, otherwise it is rejected by the API server. Kubernetes-commit: bf3dfaf99942eab20fac1570ca0146d32cb93b57 |
||
|---|---|---|
| .. | ||
| debug.go | ||
| debug_test.go | ||