tusd/.infra/kube/ingress-tls.yaml

40 lines
980 B
YAML
Raw Normal View History

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"
2018-01-04 15:59:33 +00:00
ingress.kubernetes.io/enable-cors: "true"
ingress.kubernetes.io/cors-allow-methods: "GET, PUT, POST, DELETE, PATCH, OPTIONS"
spec:
tls:
- hosts:
2018-01-03 12:19:36 +00:00
- tusd.tus.io
secretName: tusd-tls
2018-01-03 12:25:51 +00:00
- hosts:
- master.tus.io
secretName: master-tls
rules:
2018-01-03 12:19:36 +00:00
- host: tusd.tus.io
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