From 094e1ee5f37f84ff01ed2e0b750dd622718fdd1b Mon Sep 17 00:00:00 2001 From: Marco van Zijl Date: Sat, 3 May 2025 10:22:14 +0200 Subject: [PATCH] Add Ingress resource for app-test-1 with Traefik configuration --- app-test-1/app-test-1.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/app-test-1/app-test-1.yaml b/app-test-1/app-test-1.yaml index f22d580..9aec65b 100644 --- a/app-test-1/app-test-1.yaml +++ b/app-test-1/app-test-1.yaml @@ -41,3 +41,22 @@ spec: protocol: TCP selector: app: app-test-1 +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: app-test-1-ingress + namespace: app-test-1 + annotations: + traefik.ingress.kubernetes.io/router.entrypoints: web +spec: + rules: + - http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: app-test-1-svc + port: + name: http