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

38 lines
872 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"
2018-01-05 14:51:39 +00:00
nginx.ingress.kubernetes.io/proxy-body-size: 0
2018-01-05 14:33:16 +00:00
nginx.ingress.kubernetes.io/proxy-connect-timeout: "300"
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
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