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
Type
Projects
Status
Needs Triage