Quan Tian
efcca8f357
Fix missing pod name for kubectl attach and exec
...
The pod name is missing in suggested cmd usage when executing kubectl attach
and exec:
"Defaulting container name to master.
Use 'kubectl describe pod/ -n default' to see all of the containers in this pod."
The PodName is empty in func Complete as the attached Pod isn't populated yet,
causing suggested cmd usage imcomplete. This patch renders PodName after it is
populated.
2019-05-17 09:58:57 -07:00
Maciej Szulik
c1cd89f5cd
Update kubectl exec use to put flags in the right place
2019-05-07 21:47:03 +02:00
Ahmad Nurus S
0c39d7d380
Kubectl exec support resource/name format
2019-04-25 17:44:01 +07:00
Sean Sullivan
2345831b82
kubectl: Removes dependency on util/interrupt by copying this code into kubectl
2019-03-20 11:39:57 -07:00
He Xiaoxi
4c8d0a3cd4
Fix duplicate container query param on exec pod command
...
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2019-02-19 15:58:43 +08:00
Yang Li
141d33a2a5
Fix some golint errors for packages in pkg/kubectl/cmd
...
Co-authored-by: Arijit Basu <sayanarijit@gmail.com>
2018-11-22 22:09:08 +08:00
Maciej Szulik
61899e1654
Generated changes
2018-10-11 22:01:06 +02:00
Maciej Szulik
21789b85a6
Move pkg/kubectl/cmd/templates -> pkg/kubectl/util/temlpates
2018-10-11 22:01:03 +02:00
Maciej Szulik
1d9617d8e1
Generated changes
2018-10-06 18:44:05 +02:00
Maciej Szulik
55d5df8a36
React to moves
2018-10-06 18:44:05 +02:00
Maciej Szulik
33adf367f9
Move each kubectl command to a separate directory
2018-10-06 18:44:05 +02:00