update kubernetes envoy configuration

This commit is contained in:
Martin McKeaveney 2021-09-06 15:47:53 +01:00
parent 19d31e0cea
commit c8263b45a4
1 changed files with 9 additions and 1 deletions

View File

@ -33,11 +33,19 @@ static_resources:
route:
cluster: app-service
# special case for worker admin API
# special cases for worker admin (deprecated), global and system API
- match: { prefix: "/api/global/" }
route:
cluster: worker-service
- match: { prefix: "/api/admin/" }
route:
cluster: worker-service
- match: { prefix: "/api/system/" }
route:
cluster: worker-service
- match: { path: "/" }
route:
cluster: app-service