From dd63cd70c78d8b9ffd61242a0fd67c770690e732 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sat, 10 Jul 2021 12:09:24 +0200 Subject: [PATCH] k8s: Use stable ingress definition --- deployment.tpl.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/deployment.tpl.yaml b/deployment.tpl.yaml index fcfae841..bdeb31bf 100644 --- a/deployment.tpl.yaml +++ b/deployment.tpl.yaml @@ -181,7 +181,7 @@ spec: tier: application --- -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: engelsystem-ingress @@ -204,6 +204,9 @@ spec: http: paths: - path: '/?(.*)' + pathType: Prefix backend: - serviceName: engelsystem - servicePort: 80 + service: + name: engelsystem + port: + number: 80