Merge pull request #12521 from feihujiang/kubectlScaleAcceptFileNameParam

Kubectl scale command accepts a filename param
This commit is contained in:
Saad Ali
2015-08-19 15:00:26 -07:00
5 changed files with 40 additions and 11 deletions

View File

@@ -539,6 +539,12 @@ _kubectl_scale()
flags_completion=()
flags+=("--current-replicas=")
flags+=("--filename=")
flags_with_completion+=("--filename")
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
two_word_flags+=("-f")
flags_with_completion+=("-f")
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
flags+=("--help")
flags+=("-h")
flags+=("--output=")