-
Notifications
You must be signed in to change notification settings - Fork 971
Open
kubernetes/kubernetes
#131353Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.sig/cliCategorizes an issue or PR as relevant to SIG CLI.Categorizes an issue or PR as relevant to SIG CLI.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Description
What happened?
kubectl exec -it resource asd asd asd -- bash
will be like kubectl exec -it resource -- bash
but no error
This can lead to unexpected behavior of command with --
What did you expect to happen?
raise error error: exec [POD] [COMMAND] is not supported anymore.
How can we reproduce it (as minimally and precisely as possible)?
kubectl exec -it resource asd asd asd -- bash
Anything else we need to know?
No response
Kubernetes version
$ kubectl version
v1.32.3
Cloud provider
-
OS version
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
Metadata
Metadata
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.sig/cliCategorizes an issue or PR as relevant to SIG CLI.Categorizes an issue or PR as relevant to SIG CLI.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Type
Projects
Status
Needs Triage