add example for haproxy multi tsl
This commit is contained in:
parent
68831cbcb8
commit
776dc4a6f3
4 changed files with 100 additions and 0 deletions
27
examples/multi-tls/haproxy/ingress-multi-tls.yaml
Normal file
27
examples/multi-tls/haproxy/ingress-multi-tls.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue