From cffdb9f35939ccc16e26c7f430cd523ebd5ba673 Mon Sep 17 00:00:00 2001 From: Cornelius Weig Date: Mon, 25 Feb 2019 12:44:43 +0100 Subject: [PATCH] Typos and nits --- Makefile | 2 +- README.md | 10 +++++----- doc/USAGE.md | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 8086382..da241e6 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ $(BUILDDIR)/$(PROJECT)-%-amd64: $(GO_FILES) $(BUILDDIR) GO111MODULE=on GOARCH=amd64 CGO_ENABLED=0 GOOS=$* go build -ldflags $(GO_LDFLAGS) -o $@ main.go install: $(BUILDDIR)/$(PROJECT)-$(GOOS)-amd64 - @mv -i $< $(GOPATH)/bin/ + @mv -i $< $(GOPATH)/bin/$(PROJECT) .PHONY: lint lint: diff --git a/README.md b/README.md index 5bb478f..c609318 100644 --- a/README.md +++ b/README.md @@ -55,18 +55,18 @@ When using the binaries for installation, also have a look at [doc/USAGE](doc/US #### Linux ```bash -curl -Lo ketall https://github.com/corneliusweig/ketall/releases/download/v1.0.0/ketall-linux-amd64 && - chmod +x ketall && mv ketall $GOPATH/bin/ +curl -Lo ketall https://github.com/corneliusweig/ketall/releases/download/v1.0.0/ketall-linux-amd64.gz && + gunzip ketall-linux-amd64.gz && chmod +x ketall-linux-amd64 && mv ketall-linux-amd64 $GOPATH/bin/ketall ``` #### OSX ```bash -curl -Lo ketall https://github.com/corneliusweig/ketall/releases/download/v1.0.0/ketall-darwin-amd64 && - chmod +x ketall && mv ketall $GOPATH/bin/ +curl -Lo ketall https://github.com/corneliusweig/ketall/releases/download/v1.0.0/ketall-darwin-amd64.gz && + gunzip ketall-darwin-amd64.gz && chmod +x ketall-darwin-amd64 && mv ketall-darwin-amd64 $GOPATH/bin/ketall ``` #### Windows -[https://github.com/corneliusweig/ketall/releases/download/v1.0.0/ketall-windows-amd64 ](https://github.com/corneliusweig/ketall/releases/download/v1.0.0/ketall-windows-amd64 ) +[https://github.com/corneliusweig/ketall/releases/download/v1.0.0/ketall-windows-amd64.zip](https://github.com/corneliusweig/ketall/releases/download/v1.0.0/ketall-windows-amd64.zip) ### From source diff --git a/doc/USAGE.md b/doc/USAGE.md index 3ede3bb..93d904c 100644 --- a/doc/USAGE.md +++ b/doc/USAGE.md @@ -15,6 +15,7 @@ kubectl get-all - `--use-cache` will consider the http cache to determine the server resources to look at. Disabled by default. - `--exclude` will filter out the given resources (either plural names `componentstatuses` or short form `cs`). Defaults to `events` because those are rarely useful. - ...and many standard `kubectl` options. Have a look at `kubectl get-all --help` for a full list of supported flags. +- `--verbosity` set the log level (one of debug, info, warn, error, fatal, panic). **Hint**: If you do not have access to all resources, bulk fetching needs to be disabled. You can speed things up by explicitly excluding all resources which you may not access. @@ -89,7 +90,7 @@ kubectl krew install get-all ### As `kubectl` plugin Most users will have installed `ketall` via [krew](https://github.com/GoogleContainerTools/krew), so the plugin is already correctly installed. -Otherwise, rename `ketall` to `kubectl-get_all` and but it in some directory from your `$PATH` variable. +Otherwise, rename `ketall` to `kubectl-get_all` and put it in some directory from your `$PATH` variable. Then you can invoke the plugin via `kubectl get-all` ### Standalone