Open
Conversation
Contributor
|
Interesting, I'll have a look when I get a minute. |
af722f0 to
df9ae30
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added 'keto get config' command, which generates the kube admin config for a given cluster.
Example use:
Optional flags:
--assets-dir: Defaults to current working directory--output-file: Defaults to stdoutIt checks for
ca.crt&ca.key(specifically required by kubeadm), and will create symlinks from yourkube_ca.crt&kube_ca.keyif they exist to save you the hassle.Will check for presence of the
kubeadmbinary and error with a curl command to retrieve it (the url is built, but if the binary doesn't exist for your distro then the link won't work).