Skip to content
Snippets Groups Projects
Commit fbcdb879 authored by Nico Benjamin Pögel's avatar Nico Benjamin Pögel
Browse files

changed regex syntax to include the campaign id in myaktion ingress route

parent b62014b5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment