-
Notifications
You must be signed in to change notification settings - Fork 923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubectl debug - allow to specify image pull secret #1671
Comments
This issue is currently awaiting triage. SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/transfer kubernetes (Doesn't look like a docs issue) |
/sig cli |
/area kubectl |
@chengjoey to the best of my knowledge, it does not belong to the API. Image pull secrets are at the pod level not the container so in this case it's rather a cli issue. |
oh Yes, I mixed up the fields. I will delete my comment to avoid any impact. Thank you for your reply. |
/transfer kubectl |
I dropped my comments about this issue in kubernetes/kubernetes#128061 (comment). I'll mark /triage accepted |
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!
The text was updated successfully, but these errors were encountered: