2018-01-03 12:10:44 +00:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: tusd
|
|
|
|
namespace: tus
|
|
|
|
annotations:
|
|
|
|
kubernetes.io/tls-acme: "true"
|
|
|
|
kubernetes.io/ingress.class: "nginx"
|
|
|
|
ingress.kubernetes.io/proxy-request-buffering: 'off'
|
|
|
|
ingress.kubernetes.io/proxy-body-size: '400m'
|
|
|
|
ingress.kubernetes.io/proxy-connect-timeout: "300"
|
|
|
|
ingress.kubernetes.io/proxy-send-timeout: "300"
|
|
|
|
ingress.kubernetes.io/proxy-read-timeout: "300"
|
|
|
|
spec:
|
|
|
|
tls:
|
|
|
|
- hosts:
|
2018-01-03 12:19:36 +00:00
|
|
|
- tusd.tus.io
|
2018-01-03 12:10:44 +00:00
|
|
|
secretName: tusd-tls
|
2018-01-03 12:25:51 +00:00
|
|
|
- hosts:
|
|
|
|
- master.tus.io
|
|
|
|
secretName: master-tls
|
2018-01-03 12:10:44 +00:00
|
|
|
rules:
|
2018-01-03 12:19:36 +00:00
|
|
|
- host: tusd.tus.io
|
2018-01-03 12:10:44 +00:00
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
backend:
|
|
|
|
serviceName: tusd
|
|
|
|
servicePort: 80
|
2018-01-03 12:25:51 +00:00
|
|
|
- host: master.tus.io
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
backend:
|
|
|
|
serviceName: tusd
|
|
|
|
servicePort: 80
|
2018-01-03 12:10:44 +00:00
|
|
|
|