Description
This is a Feature Request
What would you like to be added
Add new option to kubectl debug command to be able to specify image pull secret. Currently (v 1.31) there is only the option to specify image and image pull policy, but image pull secret is missing.
Why is this needed
When running in air-gapped environments images are pulled from internal repositories often by using credentials. In this case kubectl debug command is not usable, because image is not publicly available and it fails with ImagePull error. In general this will allow to debug pods in more restricted environments.
Comments
Thanks!
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Needs Triage