zammad-docker-compose/kubernetes/90_ingress.yaml
2017-10-25 11:48:00 +02:00

26 lines
595 B
YAML

kind: Ingress
apiVersion: extensions/v1beta1
metadata:
name: zammad.example.com
namespace: zammad
labels:
component: website
app: zammad
host: zammad.example.com
annotations:
ingress.kubernetes.io/ssl-redirect: 'true'
kubernetes.io/tls-acme: 'true'
ingress.kubernetes.io/proxy-body-size: 50m
spec:
tls:
- hosts:
- zammad.example.com
secretName: zammad-example-com-tls
rules:
- host: zammad.example.com
http:
paths:
- path: /
backend:
serviceName: zammad-nginx
servicePort: 80