Skip to content

Commit

Permalink
Update krew installation doc
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Jun 30, 2020
1 parent 95bec54 commit 449b9f6
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions docs/kubectl-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,6 @@ Flags:
Use "ingress-nginx [command] --help" for more information about a command.
```

If a new `ingress-nginx` version has just been released, the plugin may not yet have been updated inside the repository. In that case, you can install the latest version of the plugin by running:

```console
(
set -x; cd "$(mktemp -d)" &&
curl -fsSLO "https://github.com/kubernetes/ingress-nginx/releases/download/nginx-0.24.0/{ingress-nginx.yaml,kubectl-ingress_nginx-$(uname | tr '[:upper:]' '[:lower:]')-amd64.tar.gz}" &&
kubectl krew install \
--manifest=ingress-nginx.yaml --archive=kubectl-ingress_nginx-$(uname | tr '[:upper:]' '[:lower:]')-amd64.tar.gz
)
```

Replacing `0.24.0` with the recently released version.

## Common Flags

- Every subcommand supports the basic `kubectl` configuration flags like `--namespace`, `--context`, `--client-key` and so on.
Expand Down

0 comments on commit 449b9f6

Please sign in to comment.