Skip to content

Commit

Permalink
Merge pull request #643 from RaphaelBut/default-resize-to-cpms
Browse files Browse the repository at this point in the history
Default to cpms on controlplane resize
  • Loading branch information
openshift-merge-bot[bot] authored Jan 8, 2025
2 parents 7c527d3 + edcbec6 commit 8f5b08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cluster/resize/controlplane_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func newCmdResizeControlPlane() *cobra.Command {
resizeControlPlaneNodeCmd.Flags().StringVar(&ops.newMachineType, "machine-type", "", "The target AWS machine type to resize to (e.g. m5.2xlarge)")
resizeControlPlaneNodeCmd.Flags().StringVar(&ops.node, "node", "", "The control plane node to resize (e.g. ip-127.0.0.1.eu-west-2.compute.internal). Required when not using --cpms.")
resizeControlPlaneNodeCmd.Flags().StringVar(&ops.reason, "reason", "", "The reason for this command, which requires elevation, to be run (usualy an OHSS or PD ticket)")
resizeControlPlaneNodeCmd.Flags().BoolVar(&ops.cpms, "cpms", false, "Set this flag to leverage control plane machine sets to resize the control plane")
resizeControlPlaneNodeCmd.Flags().BoolVar(&ops.cpms, "cpms", true, "Set this flag to leverage control plane machine sets to resize the control plane")
resizeControlPlaneNodeCmd.MarkFlagRequired("cluster-id")
resizeControlPlaneNodeCmd.MarkFlagRequired("machine-type")
resizeControlPlaneNodeCmd.MarkFlagRequired("reason")
Expand Down

0 comments on commit 8f5b08f

Please sign in to comment.