Skip to content

Commit

Permalink
Fix command from kg to kubectl get
Browse files Browse the repository at this point in the history
  • Loading branch information
lkysow committed Jun 27, 2023
1 parent 55056be commit a87f4e3
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 a87f4e3

Please sign in to comment.