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 |
||
---|---|---|
.. | ||
debug.go | ||
debug_test.go |