zammad-docker-compose/kubernetes/90_ingress.yaml

25 lines
548 B
YAML
Raw Normal View History

2017-10-24 13:57:42 +00:00
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'
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