From 15e488a59bb6faf2ed9c8b452f52f04dc3f62a93 Mon Sep 17 00:00:00 2001 From: Antun Franjin Date: Wed, 29 Dec 2021 17:39:39 +0100 Subject: [PATCH] Refactor infra onsite texservice ingress. --- 01_onsite/00_infra/texservice/deployment.yaml | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/01_onsite/00_infra/texservice/deployment.yaml b/01_onsite/00_infra/texservice/deployment.yaml index c36d56f..e270976 100644 --- a/01_onsite/00_infra/texservice/deployment.yaml +++ b/01_onsite/00_infra/texservice/deployment.yaml @@ -50,7 +50,7 @@ spec: --- # Ingress description -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: texservice-ingress @@ -62,15 +62,21 @@ spec: - host: texservice.k3s.semapp.lan http: paths: - - path: / - backend: - serviceName: texservice - servicePort: 5010 - rules: + - backend: + service: + name: texservice + port: + number: 5010 + path: / + pathType: ImplementationSpecific + - host: texservice.semapp.lan http: paths: - - path: / - backend: - serviceName: texservice - servicePort: 5010 \ No newline at end of file + - backend: + service: + name: texservice + port: + number: 5010 + path: / + pathType: ImplementationSpecific