zammad-docker-compose/kubernetes/90_ingress.yaml
André Bauer ce696bad8b
added init container (installation / update)... (#2)
- added memcached container (currently develop branch needed)
- put all zammad services in one kubernetes pod to be able to use empty dir volume for tmp
- switched to kubernetes deployments
- switched to ReadWriteOnce kubernetes volume claims
- added init container to elasticsearch & zammad kubernetes deployments
- added IMAGE_REPO var for docker compose to .env file
- run nginx from zammad container (preparation for stateless updates)
- removed docker-compose-build.yml
- use private docker repos in compose & kubernetes
- change compose volume names
2017-11-26 21:25:57 +01:00

27 lines
598 B
YAML

kind: Ingress
apiVersion: extensions/v1beta1
metadata:
name: zammad.example.com
namespace: zammad
labels:
component: webserver
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