1
0
Fork 0

Make the aggregator compute provider namespace for router's parentRefs

Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
This commit is contained in:
Romain 2025-11-07 15:56:04 +01:00 committed by GitHub
parent 83beb8a19c
commit 9e04dd6a3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View file

@ -42,10 +42,10 @@
[http.routers.admin-router]
rule = "Header(`X-User-Role`, `admin`)"
service = "admin-service"
parentRefs = ["parent-router@file"]
parentRefs = ["parent-router"]
# Child router for developer role
[http.routers.developer-router]
rule = "Header(`X-User-Role`, `developer`)"
service = "developer-service"
parentRefs = ["parent-router@file"]
parentRefs = ["parent-router"]