Fix TLS example [ci skip]

This commit is contained in:
Manuel de Brito Fontes 2017-11-13 12:58:19 -03:00
parent 870ee35137
commit 74df879f32

View file

@ -4,12 +4,17 @@ metadata:
name: nginx-test
spec:
tls:
# This assumes tls-secret exists.
- secretName: tls-secret
- hosts:
- foo.bar.com
# This assumes tls-secret exists and the SSL
# certificate contains a CN for foo.bar.com
secretName: tls-secret
rules:
- http:
- host: foo.bar.com
http:
paths:
- backend:
# This assumes http-svc exists and routes to healthy endpoints.
- path: /
backend:
# This assumes http-svc exists and routes to healthy endpoints
serviceName: http-svc
servicePort: 80