diff --git a/helm-msa/templates/ingress-route/myaktion-ingress-route.yml b/helm-msa/templates/ingress-route/myaktion-ingress-route.yml index f5df42a887b0b2fbd7fc7bc01ad9c4890fe515c2..17346ccc053b4293074f81d40c69476fe2b946f5 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/[0-9]{1,}/dontations`) && Method(`POST`) + match: Path(`/campaigns/{id:[0-9]+}/dontations`) && Method(`POST`) services: - kind: Service name: myaktion-service @@ -17,7 +17,7 @@ spec: port: 8080 - kind: Rule - match: Path(`/campaigns/[0-9]{1,}/dontations`) && Method(`GET`) + match: Path(`/campaigns/{id:[0-9]+}/dontations`) && Method(`GET`) middlewares: - name: fw-auth-mw namespace: default @@ -28,7 +28,7 @@ spec: port: 8080 - kind: Rule - match: Path(`/campaigns`) || Path(`/campaigns/[0-9]{1,}`) + match: Path(`/campaigns`) || Path(`/campaigns/{id:[0-9]+}`) middlewares: - name: fw-auth-mw namespace: default