istio-ingress-certs is the tls secretName for ingress (#576)

* istio-ingress-certs is the tls secretName for ingress

Use proper tls secretName so when SNI is supported this example still works. Added comment for clarity. I spent time trying to figure out how this worked before seeing the note below the example. Fix cleanup

* add istio-system namespace to cleanup steps
This commit is contained in:
Mark Eijsermans 2017-10-02 07:19:52 -07:00 committed by Shriram Rajagopalan
parent 5383b454ad
commit a8c0359f41
1 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ to configure ingress behavior.
kubernetes.io/ingress.class: istio
spec:
tls:
- secretName: ingress-secret
- secretName: istio-ingress-certs # currently ignored
rules:
- http:
paths:
@ -309,7 +309,7 @@ We also showed how to control the ingress traffic using an Istio route rule.
```bash
istioctl delete routerule httpbin-3s-rule
kubectl delete ingress simple-ingress secured-ingress
kubectl delete secret ingress-secret
kubectl delete -n istio-system secret istio-ingress-certs
```
1. Shutdown the [httpbin](https://github.com/istio/istio/tree/master/samples/httpbin) service.