Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions _docs/setup/kubernetes/sidecar-injection.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ $ kubectl apply -f <(istioctl kube-inject -f samples/sleep/sleep.yaml)
`kube-inject` can also be run without access to a running Kubernetes
cluster. Create local copies of the injection and mesh configmap.

```command
$ kubectl create -f install/kubernetes/istio-sidecar-injector-configmap-release.yaml \
--dry-run \
-o=jsonpath='{.data.config}' > inject-config.yaml
$ kubectl -n istio-system get configmap istio -o=jsonpath='{.data.mesh}' > mesh-config.yaml
```bash
istioctl kube-inject --emitTemplate > inject-config.yaml

kubectl -n istio-system get configmap istio -o=jsonpath='{.data.mesh}' > mesh-config.yaml

```

Run `kube-inject` over the input file.
Expand Down