cmd.Flags().StringVar(&cfg.API.AdvertiseAddress,"apiserver-advertise-address",cfg.API.AdvertiseAddress,"The IP address or DNS name the API Server is accessible on.")
cmd.Flags().Int32Var(&cfg.API.BindPort,"apiserver-bind-port",cfg.API.BindPort,"The port the API Server is accessible on.")
cmd.Flags().StringVar(&cfg.Networking.ServiceSubnet,"service-cidr",cfg.Networking.ServiceSubnet,"The range of IP address used for service VIPs.")
cmd.Flags().StringVar(&featureGatesString,"feature-gates",featureGatesString,"A set of key=value pairs that describe feature gates for various features. "+
// runCmdControlPlane creates a cobra.Command Run function, by composing the call to the given cmdFunc with necessary additional steps (e.g preparation of input parameters)
// This call returns the ready-to-use configuration based on the configuration file that might or might not exist and the default cfg populated by flags