mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-02 06:47:34 +00:00
Make kubectl run attach behave like docker run
Have stdin closed by default, can be left open with --leave-stdin-open. Add e2e tests for the behavior.
This commit is contained in:
@@ -753,6 +753,7 @@ _kubectl_run()
|
||||
flags+=("--image=")
|
||||
flags+=("--labels=")
|
||||
two_word_flags+=("-l")
|
||||
flags+=("--leave-stdin-open")
|
||||
flags+=("--limits=")
|
||||
flags+=("--no-headers")
|
||||
flags+=("--output=")
|
||||
|
||||
Reference in New Issue
Block a user