annotation in metadata not directly in template (#1426)

This commit is contained in:
Lin Sun 2018-06-03 22:49:30 -04:00 committed by istio-bot
parent 6a1466d940
commit 85a1c8b6aa
1 changed files with 4 additions and 3 deletions

View File

@ -92,8 +92,9 @@ one of the options below:
...
spec:
template:
annotations:
sidecar.istio.io/proxyImage: docker.io/istio/proxyv2:0.8.0
metadata:
annotations:
sidecar.istio.io/proxyImage: docker.io/istio/proxyv2:0.8.0
```
Then replace your deployment with your updated application yaml file:
@ -229,4 +230,4 @@ spec:
trafficPolicy:
tls:
mode: DISABLE
```
```