From 7eb0814ba5f97c9cdc83d69857250488f6a7e66e Mon Sep 17 00:00:00 2001 From: hc-github-team-consul-core Date: Tue, 27 Jun 2023 12:41:11 -0500 Subject: [PATCH] backport of commit a87f4e37b9cc225fd4a3da0915a4a8e1ecc394e6 (#17905) Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com> --- website/content/docs/k8s/upgrade/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/k8s/upgrade/index.mdx b/website/content/docs/k8s/upgrade/index.mdx index 933c98f8c65d..2bdbb9efb04d 100644 --- a/website/content/docs/k8s/upgrade/index.mdx +++ b/website/content/docs/k8s/upgrade/index.mdx @@ -236,7 +236,7 @@ Note that you must remove the token manually after completing the migration. ```bash kubectl config set-context --current --namespace= - INJECTOR_DEPLOYMENT=$(kg deploy -l "component=connect-injector" -o=jsonpath='{.items[0].metadata.name}') + INJECTOR_DEPLOYMENT=$(kubectl get deploy -l "component=connect-injector" -o=jsonpath='{.items[0].metadata.name}') kubectl patch deploy $INJECTOR_DEPLOYMENT --type='json' -p='[{"op": "remove", "path": "/spec/template/spec/containers/0/lifecycle"}]' ```