From 3b872145a8f501d08c932b2388c5435dd7b84d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 9 Dec 2020 11:24:24 +0100 Subject: [PATCH] Refactor deployment/digital-ocean/https/templates/ingress.template.yaml --- .../https/templates/ingress.template.yaml | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/deployment/digital-ocean/https/templates/ingress.template.yaml b/deployment/digital-ocean/https/templates/ingress.template.yaml index f0bbf96d4..16721c0f9 100644 --- a/deployment/digital-ocean/https/templates/ingress.template.yaml +++ b/deployment/digital-ocean/https/templates/ingress.template.yaml @@ -9,22 +9,22 @@ metadata: certmanager.k8s.io/acme-challenge-type: http01 nginx.ingress.kubernetes.io/proxy-body-size: 6m spec: - tls: - - hosts: - - develop-k8s.ocelot.social - secretName: tls rules: - - host: develop-k8s.ocelot.social - http: - paths: - - path: / - backend: - serviceName: develop-maintenance - servicePort: 3000 + - host: develop-k8s.ocelot.social + http: + paths: + - backend: + serviceName: develop-webapp + servicePort: 3000 + path: / - host: mail.ocelot.social http: paths: - - path: / - backend: + - backend: serviceName: mailserver servicePort: 80 + path: / + tls: + - hosts: + - develop-k8s.ocelot.social + secretName: tls