diff --git a/cmd/clusterctl/client/upgrade.go b/cmd/clusterctl/client/upgrade.go index dffad22285aa..eb224da11d70 100644 --- a/cmd/clusterctl/client/upgrade.go +++ b/cmd/clusterctl/client/upgrade.go @@ -109,10 +109,10 @@ type ApplyUpgradeOptions struct { // InfrastructureProviders instance and versions (e.g. capa-system/aws:v0.5.0) to upgrade to. This field can be used as alternative to Contract. InfrastructureProviders []string - // WaitProviders instructs the upgrade apply command to wait till the providers are installed. + // WaitProviders instructs the upgrade apply command to wait till the providers are successfully upgraded. WaitProviders bool - // WaitProviderTimeout sets the timeout per provider wait installation + // WaitProviderTimeout sets the timeout per provider upgrade. WaitProviderTimeout time.Duration } diff --git a/cmd/clusterctl/cmd/upgrade_apply.go b/cmd/clusterctl/cmd/upgrade_apply.go index dbeb4f1d5145..ba569e9b04fa 100644 --- a/cmd/clusterctl/cmd/upgrade_apply.go +++ b/cmd/clusterctl/cmd/upgrade_apply.go @@ -78,9 +78,9 @@ func init() { upgradeApplyCmd.Flags().StringSliceVarP(&ua.controlPlaneProviders, "control-plane", "c", nil, "ControlPlane providers instance and versions (e.g. capi-kubeadm-control-plane-system/kubeadm:v0.3.0) to upgrade to. This flag can be used as alternative to --contract.") upgradeApplyCmd.Flags().BoolVar(&ua.waitProviders, "wait-providers", false, - "Wait for providers to be installed.") + "Wait for providers to be upgraded.") upgradeApplyCmd.Flags().IntVar(&ua.waitProviderTimeout, "wait-provider-timeout", 5*60, - "Wait timeout per provider installation in seconds. This value is ignored if --wait-providers is false") + "Wait timeout per provider upgrade in seconds. This value is ignored if --wait-providers is false") } func runUpgradeApply() error {