Commit Graph

43 Commits

Author SHA1 Message Date
John Gardiner Myers 0167f689e3 Implement completion for "kops export kubeconfig" 2021-07-13 07:32:08 -07:00
John Gardiner Myers 4771f606a0 Implement completion for "kops update cluster" 2021-07-05 09:18:37 -07:00
John Gardiner Myers e0915887ed Move asset copying out of apply_cluster 2021-06-05 21:17:50 -07:00
Justin Santa Barbara e34d9bb579 Expand flag help on --user flags
It wasn't entirely clear to me that this had to be the name of a user
kubeconfig section.
2021-03-27 13:41:10 -04:00
Barry Melbourne e30bf1cf35 Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
Kubernetes Prow Robot 0b5646e94a
Merge pull request #10266 from rifelpet/k8s120
Update k8s dependencies to 1.20.0-beta.2
2020-11-18 10:48:07 -08:00
Peter Rifel f78bf5bf5e
regenerate cli docs 2020-11-18 12:02:58 -06:00
Ciprian Hacman 3ca128d5ef make gen-cli-docs 2020-11-14 16:02:59 +02:00
Ciprian Hacman f69ffeaa63 Update cluster and state store names in CLI docs 2020-10-28 18:22:53 +02:00
Justin SB e03bb72c2c Default to exporting a kubecfg, even without credentials
We do log a hint for the user when we have exported an empty kubecfg,
but this now supports the "current cluster" UX.

Issue #9990
2020-10-25 14:30:32 -04:00
Peter Rifel d0b8c654bd
Add --internal flag for export kubecfg that targets the internal dns name
Kops creates an "api.internal.$clustername" dns A record that points to the master IP(s)

This adds a flag that will use that name and force the CA cert to be included.
This is a workaround for client certificate authentication not working on API ELBs with ACM certificates.
The ELB has a TLS listener rather than TCP, so the client certificate is not passed through to the apiserver.
Using --internal will bypass the API ELB so that the client certificate will be passed directly to the apiserver.
This also requires that the masters' security groups allow 443 access from the client which this does not handle automatically.
2020-08-26 21:15:18 -05:00
Peter Rifel 4d9f0128a3
Upgrade to klog2
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
John Gardiner Myers a45b07c156 Reduce the lifetime of exported kubecfg credentials 2020-07-17 22:39:01 -07:00
John Gardiner Myers 3201cc4dd8 Require extra flag when updating cluster with downgraded kops version 2020-07-17 11:11:12 -07:00
Kubernetes Prow Robot 6f3c067e5e
Merge pull request #9280 from olemarkus/no-admin
Specify user on export kubecfg
2020-07-17 11:00:51 -07:00
Ole Markus With 72fd007acf Don't export admin user by default. Allow specifying existing user when exporting context 2020-06-24 19:54:25 +02:00
John Gardiner Myers a76a1cd127 Remove unused model options 2020-06-21 22:37:16 -07:00
Justin Santa Barbara adf2a5c681
Update cli docs
klog added a flag (add_dir_header).
2020-01-17 06:35:22 -05:00
Justin SB eb4fe3f8ff
Generate docs
https://github.com/kubernetes/kubernetes/pull/72137 appears to have
introduced spurious spaces, but I think we can live with it for now.
2019-08-26 07:54:30 -07:00
Justin SB 547b5bbbb9
Update CLI docs 2019-05-06 13:44:41 -04:00
Justin Santa Barbara b334650c68
Merge branch 'master' into feature-2435-s3configfile 2018-06-11 11:53:23 -04:00
Justin Santa Barbara ef5936d8b5 Support overlay2 in docker
We also have to stop passing the flag on ContainerOS, because it's set
in /etc/docker/default.json and it's now an error to pass the flag.

That in turn means we move those options to code, which are the last of
those legacy config options.  (We still have a few tasks declaratively
defined though)
2018-06-07 17:11:11 -04:00
Rodrigo Menezes 11b3da7a87 Clarify the usage of the --state flag. 2018-06-05 09:48:14 -07:00
Julien SENON 9829245f3f
Generate make gen-cli-docs 2018-04-22 16:50:14 +02:00
Justin Santa Barbara 738cadb45a Update generated docs 2018-04-18 21:02:22 -04:00
Kyle Rockman 8382cbbe57 redo documenation generation after PR changes 2018-03-09 10:21:24 -06:00
Kyle Rockman 148655da1f recompile documentation 2018-03-09 10:14:00 -06:00
chrislovecnm 64439b4846 updating cli documentation for override-lifecycles 2018-02-19 13:27:08 -07:00
chrislovecnm a25b5d7364 adding -y to various commands that use --yes. kops create,
rolling-update and update now include -y.
2017-11-05 17:33:24 -07:00
chrislovecnm ceafc684f2 updating documenation for new phases name 2017-10-26 12:37:55 -06:00
chrislovecnm 384c74d66c Refactoring IAM phase to Security Phase 2017-10-26 12:28:50 -06:00
chrislovecnm 6071ce7383 refactoring for tracking via assets container registry 2017-08-21 17:29:16 -06:00
Justin Santa Barbara ebc97af7cf autogen 2017-07-15 22:04:01 -04:00
Justin Santa Barbara 17b3fa36eb Try adding header to generated CLI docs
Fix #2834
2017-07-15 13:14:21 -04:00
Benedict Hartley c45ba71c0b
Build new docs 2017-07-14 19:53:13 +01:00
Stefano Vozza cb53eb3518 mention cloudformation as target in update cluster help 2017-05-08 22:04:24 +01:00
chrislovecnm 53848f1f7f Work on cli documentation 2017-05-07 21:03:29 -06:00
chrislovecnm 7487b0d756 updating docs, adding verify-gendocs and more build tweaks 2017-05-04 18:58:10 -06:00
chrislovecnm 3d3e03cfab docs are out of date 2017-04-22 12:56:33 -06:00
Kris Nova 2ae3e806de Meep, remove nivenly.com from state store 2017-03-21 13:19:07 -06:00
Kris Nova 047800a96f Adding docs and fixing Makefile 2017-03-21 13:17:43 -06:00
Billy Shambrook 7472349b86 Stop cobra adding a autogenerated comment when creating docs.
This is to avoid spamming pull requests.
2016-11-08 11:56:50 +00:00
Billy Shambrook 8e979ca434 add genhelpdocs cmd to generate cli markdown docs 2016-11-05 18:41:47 +00:00