You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
Feature Utilization
problem statement :-
i have multiple docker services each service expose some endpoint example (authentication/login/ , authentication/user/ these route belong authentication service )
and in those multiple service i have a service which append name of the service in route i.e (example my route become /api/authentication/authentication/login service added this route /api/authentication
so as of now i have been using nginx as my router in which i have added this conf
location /api/authentication/ to my authentication service
how can i achieve this in rio
i have solved this but for only one route by adding rewrite in i m my route . but my other endpoint give 405 as gloo doesn't consider them the end point because of one of my service which is appending name as describe above..
so how can i give route so that rio gloo can understand them via rio ?
To Reproduce
start multiple service and in one service try adding name of the service to route
Expected behavior
should be able to route
Kubernetes version & type (GKE, on-prem): kubectl version
routers:
foo:
routes:
- match: # Match rules, the first rule matching an incoming request is used
path: # Match path, can specify regxp, prefix or exact match
exact: /api/auth/
to: # Specify destination
- app: lil-auth
port: 80
namespace: default
The text was updated successfully, but these errors were encountered:
Feature Utilization
problem statement :-
i have multiple docker services each service expose some endpoint example (authentication/login/ , authentication/user/ these route belong authentication service )
and in those multiple service i have a service which append name of the service in route i.e (example my route become /api/authentication/authentication/login service added this route /api/authentication
so as of now i have been using nginx as my router in which i have added this conf
location /api/authentication/ to my authentication service
how can i achieve this in rio
i have solved this but for only one route by adding rewrite in i m my route . but my other endpoint give 405 as gloo doesn't consider them the end point because of one of my service which is appending name as describe above..
so how can i give route so that rio gloo can understand them via rio ?
To Reproduce
Expected behavior
should be able to route
Kubernetes version & type (GKE, on-prem):
kubectl version
Type:
Rio version:
rio info
here my riofile and route
lil-auth:
env:
- xXXXX
image: "xxx:555"
imagePullSecrets:
- secret
routers:
foo:
routes:
- match: # Match rules, the first rule matching an incoming request is used
path: # Match path, can specify regxp, prefix or exact match
exact: /api/auth/
to: # Specify destination
- app: lil-auth
The text was updated successfully, but these errors were encountered: