mirror of https://github.com/kubernetes/kops.git
Expose options.CreateKubecfg to the CLI
This commit is contained in:
parent
14bfd2d4fa
commit
c5be665975
|
|
@ -85,7 +85,7 @@ func NewCmdUpdateCluster(f *util.Factory, out io.Writer) *cobra.Command {
|
|||
cmd.Flags().StringVar(&options.Models, "model", options.Models, "Models to apply (separate multiple models with commas)")
|
||||
cmd.Flags().StringVar(&options.SSHPublicKey, "ssh-public-key", options.SSHPublicKey, "SSH public key to use (deprecated: use kops create secret instead)")
|
||||
cmd.Flags().StringVar(&options.OutDir, "out", options.OutDir, "Path to write any local output")
|
||||
|
||||
cmd.Flags().BoolVar(&options.CreateKubecfg, "create-kube-config", options.CreateKubecfg, "Will control automatically creating the kube config file on your local filesystem")
|
||||
return cmd
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue