From 86b342809cc4833dfc77801f4930720f884a7757 Mon Sep 17 00:00:00 2001
From: Nico Poegel <nico_benjamin.poegel@student.reutlingen-university.de>
Date: Mon, 27 Feb 2023 15:28:06 +0100
Subject: [PATCH] exposed monitor in ingressroute

---
 helm-msa/templates/ingress-route/myaktion-ingress-route.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/helm-msa/templates/ingress-route/myaktion-ingress-route.yml b/helm-msa/templates/ingress-route/myaktion-ingress-route.yml
index 1f3affa..86abb87 100644
--- a/helm-msa/templates/ingress-route/myaktion-ingress-route.yml
+++ b/helm-msa/templates/ingress-route/myaktion-ingress-route.yml
@@ -39,7 +39,10 @@ spec:
       port: 8080
 
   - kind: Rule
-    match: PathPrefix(`/monitor.html`)
+    match: PathPrefix(`/view`)
+    middlewares:
+    - name: fw-auth-mw
+      namespace: default
     services:
     - kind: Service
       name: myaktion-monitor
-- 
GitLab