mirror of https://github.com/kubernetes/kops.git
Merge pull request #2138 from kris-nova/bypass-kubeconfig
Expose options.CreateKubecfg to the CLI
This commit is contained in:
commit
1cba0bd27f
2
Makefile
2
Makefile
|
@ -174,7 +174,7 @@ gcs-publish-ci: gcs-upload
|
|||
gsutil -h "Cache-Control:private, max-age=0, no-transform" cp .build/upload/${LATEST_FILE} ${GCS_LOCATION}
|
||||
|
||||
gen-cli-docs:
|
||||
KOPS_STATE_STORE= kops genhelpdocs --out docs/cli
|
||||
@kops genhelpdocs --out docs/cli
|
||||
|
||||
# Will always push a linux-based build up to the server
|
||||
push: crossbuild-nodeup
|
||||
|
|
|
@ -86,7 +86,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
|
||||
}
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ kops update cluster
|
|||
### Options
|
||||
|
||||
```
|
||||
--create-kube-config Will control automatically creating the kube config file on your local filesystem (default true)
|
||||
--model string Models to apply (separate multiple models with commas) (default "config,proto,cloudup")
|
||||
--out string Path to write any local output
|
||||
--ssh-public-key string SSH public key to use (deprecated: use kops create secret instead)
|
||||
|
|
Loading…
Reference in New Issue