From f6d3478d6c40adb14f1a748752247c857e67eb77 Mon Sep 17 00:00:00 2001
From: Nico Poegel <nico_benjamin.poegel@student.reutlingen-university.de>
Date: Wed, 22 Feb 2023 13:54:32 +0100
Subject: [PATCH]  fixed typo in myaktion ingress controller

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

diff --git a/helm-msa/templates/ingress-route/myaktion-ingress-route.yml b/helm-msa/templates/ingress-route/myaktion-ingress-route.yml
index 17346cc..1f3affa 100644
--- a/helm-msa/templates/ingress-route/myaktion-ingress-route.yml
+++ b/helm-msa/templates/ingress-route/myaktion-ingress-route.yml
@@ -9,7 +9,7 @@ metadata:
 spec:
   routes:
   - kind: Rule
-    match: Path(`/campaigns/{id:[0-9]+}/dontations`) &&  Method(`POST`)
+    match: Path(`/campaigns/{id:[0-9]+}/donations`) &&  Method(`POST`)
     services:
     - kind: Service
       name: myaktion-service
@@ -17,7 +17,7 @@ spec:
       port: 8080
 
   - kind: Rule
-    match: Path(`/campaigns/{id:[0-9]+}/dontations`) &&  Method(`GET`)
+    match: Path(`/campaigns/{id:[0-9]+}/donations`) &&  Method(`GET`)
     middlewares:
     - name: fw-auth-mw
       namespace: default
-- 
GitLab