You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
upgradePlanCmd.Flags().StringVarP(&up.kubeconfig, "kubeconfig", "", "", "Path to the kubeconfig file to use for accessing the management cluster. If empty, default rules for kubeconfig discovery will be used")
67
98
68
99
upgradeCmd.AddCommand(upgradePlanCmd)
69
100
101
+
upgradeApplyCmd.Flags().StringVarP(&ua.kubeconfig, "kubeconfig", "", "", "Path to the kubeconfig file to use for accessing the management cluster. If empty, default rules for kubeconfig discovery will be used")
102
+
upgradeApplyCmd.Flags().StringVarP(&ua.managementGroup, "management-group", "", "", "The management group that should be upgraded")
103
+
upgradeApplyCmd.Flags().StringVarP(&ua.contract, "contract", "", "", "The API Version of Cluster API (contract) the management group should upgrade to")
104
+
upgradeApplyCmd.Flags().StringSliceVarP(&ua.upgradeReferences, "provider", "", nil, "Providers and versions (e.g. caps-system/aws:v0.5.0) to upgrade to. If empty (default) the latest versions available will be used for all the providers")
105
+
106
+
upgradeCmd.AddCommand(upgradeApplyCmd)
107
+
70
108
RootCmd.AddCommand(upgradeCmd)
71
109
}
72
110
@@ -114,7 +152,7 @@ func runUpgradePlan() error {
114
152
ifupgradeAvailable {
115
153
fmt.Println("You can now apply the upgrade by executing the following command:")
0 commit comments