improve commands output (#351)

adding `|head -1 ` because without it the output is confusing:
```
ldemailly-macbookpro:istio-0.1.5 ldemailly$ kubectl get configmap istio -o yaml | grep authPolicy
    authPolicy: MUTUAL_TLS
      {"apiVersion":"v1","data":{"mesh":"# Uncomment the following line to enable mutual TLS between proxies\nauthPolicy: MUTUAL_TLS\nmixerAddress: istio-mixer:9091\ndiscoveryAddress: istio-manager:8080\ningressService: istio-ingress\nzipkinAddress: zipkin:9411"},"kind":"ConfigMap","metadata":{"annotations":{},"name":"istio","namespace":"default"}}
```
This commit is contained in:
Laurent Demailly 2017-05-26 14:57:55 -07:00 committed by GitHub
parent a54b9e5095
commit dbd0eda9d7
1 changed files with 2 additions and 2 deletions

View File

@ -49,10 +49,10 @@ Istio CA is up if the "AVAILABLE" column is 1.
1. Verify AuthPolicy setting in ConfigMap.
```bash
kubectl get configmap istio -o yaml | grep authPolicy
kubectl get configmap istio -o yaml | grep authPolicy | head -1
```
Istio Auth is enabled if the line "authPolicy: MUTUAL\_TLS" is uncommented.
Istio Auth is enabled if the line ` authPolicy: MUTUAL_TLS` is uncommented.
1. Check Istio Auth is enabled on Envoy proxies.