Skip to content

Commit

Permalink
backport of commit a87f4e3 (#17905)
Browse files Browse the repository at this point in the history
Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
  • Loading branch information
hc-github-team-consul-core and lkysow authored Jun 27, 2023
1 parent 68ed247 commit 7eb0814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/content/docs/k8s/upgrade/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Note that you must remove the token manually after completing the migration.

```bash
kubectl config set-context --current --namespace=<consul installation 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"}]'
```

Expand Down

0 comments on commit 7eb0814

Please sign in to comment.