// TODO: Use the generic options.AddConfigFlag method instead
options.AddConfigFlag(cmd.Flags(),&flags.cfgPath)
cmd.Flags().StringVar(&flags.cfgPath,"config",flags.cfgPath,"Path to kubeadm config file. WARNING: Usage of a configuration file is experimental!")
cmd.Flags().StringVar(&flags.apiServerManifestPath,"api-server-manifest",defaultAPIServerManifestPath,"path to API server manifest")
cmd.Flags().StringVar(&flags.apiServerManifestPath,"api-server-manifest",defaultAPIServerManifestPath,"path to API server manifest")
cmd.Flags().StringVar(&flags.controllerManagerManifestPath,"controller-manager-manifest",defaultControllerManagerManifestPath,"path to controller manifest")
cmd.Flags().StringVar(&flags.controllerManagerManifestPath,"controller-manager-manifest",defaultControllerManagerManifestPath,"path to controller manifest")
cmd.Flags().StringVar(&flags.schedulerManifestPath,"scheduler-manifest",defaultSchedulerManifestPath,"path to scheduler manifest")
cmd.Flags().StringVar(&flags.schedulerManifestPath,"scheduler-manifest",defaultSchedulerManifestPath,"path to scheduler manifest")
fs.StringVar(&flags.kubeConfigPath,"kubeconfig",flags.kubeConfigPath,"The KubeConfig file to use when talking to the cluster.")
options.AddConfigFlag(fs,&flags.cfgPath)
fs.StringVar(&flags.cfgPath,"config",flags.cfgPath,"Path to kubeadm config file. WARNING: Usage of a configuration file is experimental!")
fs.BoolVar(&flags.allowExperimentalUpgrades,"allow-experimental-upgrades",flags.allowExperimentalUpgrades,"Show unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.")
fs.BoolVar(&flags.allowExperimentalUpgrades,"allow-experimental-upgrades",flags.allowExperimentalUpgrades,"Show unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.")
fs.BoolVar(&flags.allowRCUpgrades,"allow-release-candidate-upgrades",flags.allowRCUpgrades,"Show release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.")
fs.BoolVar(&flags.allowRCUpgrades,"allow-release-candidate-upgrades",flags.allowRCUpgrades,"Show release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.")