Merge pull request #12239 from eparis/bash-completions-rolling-update
Bash completion annotations for rollingupdates
This commit is contained in:
@@ -469,7 +469,11 @@ _kubectl_rolling-update()
|
||||
flags+=("--deployment-label-key=")
|
||||
flags+=("--dry-run")
|
||||
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+=("--image=")
|
||||
@@ -485,6 +489,9 @@ _kubectl_rolling-update()
|
||||
flags+=("--update-period=")
|
||||
|
||||
must_have_one_flag=()
|
||||
must_have_one_flag+=("--filename=")
|
||||
must_have_one_flag+=("-f")
|
||||
must_have_one_flag+=("--image=")
|
||||
must_have_one_noun=()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user