mirror of https://github.com/istio/istio.io.git
fix bash command error (#12031)
This commit is contained in:
parent
51174df111
commit
60c24eec7b
|
@ -102,7 +102,7 @@ test: no
|
||||||
以下标签会覆盖默认策略并强制注入 Sidecar:
|
以下标签会覆盖默认策略并强制注入 Sidecar:
|
||||||
|
|
||||||
{{< text bash yaml >}}
|
{{< text bash yaml >}}
|
||||||
$ kubectl get deployment sleep -o yaml | grep "sidecar.istio.io/inject:" -C3
|
$ kubectl get deployment sleep -o yaml | grep "sidecar.istio.io/inject:" -B4
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|
Loading…
Reference in New Issue