From 01926f09e389fe6cf8f47d430b76056d1ebe96e0 Mon Sep 17 00:00:00 2001 From: Tobias Persson Date: Thu, 28 Nov 2024 10:50:02 +0100 Subject: [PATCH] Add a base ingress for ETOS --- manifests/base/ingress.yaml | 47 +++++++++++++++++++++++++++++++ manifests/base/kustomization.yaml | 1 + 2 files changed, 48 insertions(+) create mode 100644 manifests/base/ingress.yaml diff --git a/manifests/base/ingress.yaml b/manifests/base/ingress.yaml new file mode 100644 index 0000000..a50f3b8 --- /dev/null +++ b/manifests/base/ingress.yaml @@ -0,0 +1,47 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: etos + labels: + app.kubernetes.io/name: etos + app.kubernetes.io/part-of: etos + app.kubernetes.io/component: etos-api +spec: + rules: + - http: + paths: + - path: /api + pathType: Prefix + backend: + service: + name: etos-api + port: + number: 80 + - path: /sse + pathType: Prefix + backend: + service: + name: etos-sse + port: + number: 80 + - path: /logarea + pathType: Prefix + backend: + service: + name: etos-logarea + port: + number: 80 + - path: /iut + pathType: Prefix + backend: + service: + name: etos-iut + port: + number: 80 + - path: /executionspace + pathType: Prefix + backend: + service: + name: etos-executionspace + port: + number: 80 diff --git a/manifests/base/kustomization.yaml b/manifests/base/kustomization.yaml index fc056c1..2a9eb71 100644 --- a/manifests/base/kustomization.yaml +++ b/manifests/base/kustomization.yaml @@ -6,6 +6,7 @@ resources: - ./logarea - ./iut - ./executionspace + - ./ingress.yaml # By generating the configmap it will get a unique name on each apply