From d4b14b40ffbf16cf16549aa091aa31354bc350e8 Mon Sep 17 00:00:00 2001 From: Alex Kursell Date: Wed, 27 Feb 2019 12:57:55 -0500 Subject: [PATCH] Use incantation from release page --- docs/troubleshooting.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index cfabdbf80..fea232a66 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -97,7 +97,12 @@ Use the `ingress-nginx` kubectl plugin Install [krew](https://github.com/GoogleContainerTools/krew), then run ```console -$ kubectl krew install --manifest https://github.com/kubernetes/ingress-nginx/releases/download/nginx-0.23.0/ingress-nginx.yaml +$ ( + set -x; cd "$(mktemp -d)" && + curl -fsSLO "https://github.com/kubernetes/ingress-nginx/releases/download/nginx-0.23.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 +) ``` to install the plugin. Then run ```console