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
94
68
95
upgradeCmd.AddCommand(upgradePlanCmd)
69
96
97
+
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")
98
+
upgradeApplyCmd.Flags().StringVarP(&ua.managementGroup, "management-group", "", "", "The management group that should be upgraded")
99
+
upgradeApplyCmd.Flags().StringVarP(&ua.contract, "contract", "", "", "The API Version of Cluster API (contract) the management group should upgrade to")
100
+
101
+
upgradeCmd.AddCommand(upgradeApplyCmd)
102
+
70
103
RootCmd.AddCommand(upgradeCmd)
71
104
}
72
105
@@ -114,7 +147,7 @@ func runUpgradePlan() error {
114
147
ifupgradeAvailable {
115
148
fmt.Println("You can now apply the upgrade by executing the following command:")
0 commit comments