add example for haproxy multi tsl

This commit is contained in:
caiyixiang 2017-03-28 16:13:53 +08:00
parent 68831cbcb8
commit 776dc4a6f3
4 changed files with 100 additions and 0 deletions

View file

@ -0,0 +1,27 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: app
spec:
tls:
- hosts:
- foo.bar
secretName: foobar-ssl
- hosts:
- bar.foo
secretName: barfoo-ssl
rules:
- host: foo.bar
http:
paths:
- path: /
backend:
serviceName: back-svc1
servicePort: 8080
- host: bar.foo
http:
paths:
- path: /
backend:
serviceName: back-svc2
servicePort: 8080