From f8b363a1f5b5641a23829ba2946dad61d0a2417c Mon Sep 17 00:00:00 2001 From: sbadiger Date: Tue, 12 Sep 2023 23:42:58 +0530 Subject: [PATCH] set LaunchTemplate as default value for default-scaling-configuration --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index caa606db..02af9e61 100644 --- a/main.go +++ b/main.go @@ -88,7 +88,7 @@ func main() { "Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.") flag.BoolVar(&nodeRelabel, "node-relabel", true, "relabel nodes as they join with kubernetes.io/role label via controller") flag.BoolVar(&disableWinClusterInjection, "disable-windows-cluster-ca-injection", false, "Setting this to true will cause the ClusterCA and Endpoint to not be injected for Windows nodes") - flag.StringVar(&defaultScalingConfiguration, "", string(instancemgrv1alpha1.LaunchTemplate), "By default ASGs will have LaunchTemplate. Set this string to either 'LaunchConfiguration' or 'LaunchTemplate' to enforce defaults.") + flag.StringVar(&defaultScalingConfiguration, "default-scaling-configuration", "LaunchTemplate", "By default ASGs will have LaunchTemplate. Set this string to either 'LaunchConfiguration' or 'LaunchTemplate' to enforce defaults.") flag.Parse() ctrl.SetLogger(zap.New(zap.UseDevMode(true)))