From 03e357d17ce40384ab8595a35145b7e92fd26e02 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Mon, 2 Feb 2026 21:52:39 +0100 Subject: [PATCH] Split deployment in 2 files --- lingo/lingo-ingress.yaml | 4 ++-- lingo/lingo-service.yaml | 16 ---------------- 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 lingo/lingo-service.yaml diff --git a/lingo/lingo-ingress.yaml b/lingo/lingo-ingress.yaml index 079b8e4..5626545 100644 --- a/lingo/lingo-ingress.yaml +++ b/lingo/lingo-ingress.yaml @@ -16,14 +16,14 @@ spec: pathType: ImplementationSpecific backend: service: - name: lingo + name: lingo-api port: number: 8000 - path: / pathType: Prefix backend: service: - name: lingo + name: lingo-frontend port: number: 8001 tls: diff --git a/lingo/lingo-service.yaml b/lingo/lingo-service.yaml deleted file mode 100644 index 3a3736e..0000000 --- a/lingo/lingo-service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app: lingo - name: lingo -spec: - ports: - - name: "api" - port: 8000 - targetPort: 8000 - - name: "frontend" - port: 8001 - targetPort: 8001 - selector: - app: lingo