fix(doc): Update default wait strategy

fixes: #31652

Default wait strategy is hookOnly, so updated the docs to reflect the same

Signed-off-by: Deepak Chethan <deepakchethan@outlook.com>
pull/31654/head
Deepak 2 weeks ago committed by Deepak Chethan
parent 019e7e7145
commit f92ae18977

@ -59,7 +59,7 @@ func AddWaitFlag(cmd *cobra.Command, wait *kube.WaitStrategy) {
cmd.Flags().Var(
newWaitValue(kube.HookOnlyStrategy, wait),
"wait",
"if specified, wait until resources are ready (up to --timeout). Values: 'watcher' (default), 'hookOnly', and 'legacy'.",
"if specified, wait until resources are ready (up to --timeout). Values: 'hookOnly' (default), 'watcher', and 'legacy'.",
)
// Sets the strategy to use the watcher strategy if `--wait` is used without an argument
cmd.Flags().Lookup("wait").NoOptDefVal = string(kube.StatusWatcherStrategy)

Loading…
Cancel
Save