kubectl/pkg/cmd/debug
Kiyoshi Muranaka 1465bd4a90 Fix index out of range panic for kubectl alpha debug
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: 39fd13dd152d89d91a4a95b721e9d3659fa9d01b
2020-09-07 02:43:21 +09:00
..
debug.go Fix index out of range panic for kubectl alpha debug 2020-09-07 02:43:21 +09:00
debug_test.go Fix index out of range panic for kubectl alpha debug 2020-09-07 02:43:21 +09:00