Refactor deployment/digital-ocean/https/templates/ingress.template.yaml

This commit is contained in:
Wolfgang Huß 2020-12-09 11:24:24 +01:00
parent dd34753497
commit 3b872145a8

View File

@ -9,22 +9,22 @@ metadata:
certmanager.k8s.io/acme-challenge-type: http01 certmanager.k8s.io/acme-challenge-type: http01
nginx.ingress.kubernetes.io/proxy-body-size: 6m nginx.ingress.kubernetes.io/proxy-body-size: 6m
spec: spec:
tls:
- hosts:
- develop-k8s.ocelot.social
secretName: tls
rules: rules:
- host: develop-k8s.ocelot.social - host: develop-k8s.ocelot.social
http: http:
paths: paths:
- path: / - backend:
backend: serviceName: develop-webapp
serviceName: develop-maintenance
servicePort: 3000 servicePort: 3000
path: /
- host: mail.ocelot.social - host: mail.ocelot.social
http: http:
paths: paths:
- path: / - backend:
backend:
serviceName: mailserver serviceName: mailserver
servicePort: 80 servicePort: 80
path: /
tls:
- hosts:
- develop-k8s.ocelot.social
secretName: tls