-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to inject credentials into a proxied request #5200
Comments
Looking forward to any advice or pointers on resolving this. |
looks like
but the implementation exists gateway/internal/xds/translator/jsonpatch.go Line 143 in 291da0f
|
alternatively @KALAKATASUNEETHA we are trying to express this use case as a first class API , if you can help with it that would be great #4757 |
I tested the changes mentioned in #4757, and it successfully replaces the hostname in the proxied request. Let me know if any additional validation is needed. |
Just FYI, I installed Envoy Gateway version 1.3.0. |
Fixes: envoyproxy#5200 Signed-off-by: Arko Dasgupta <[email protected]>
Description:
My template is
Expected Behavior:
When allow_request_without_credential: false, the request should be blocked with a 401 Unauthorized response.
Envoy Gateway should apply the patch properly.
Actual Behavior:
The patch is applied successfully (kubectl get envoypatchpolicy shows it as Accepted).
But the request always succeeds with 200 OK, even when no credentials are passed.
Additionally, I want to inject a static credential using a Secret:
Could you provide an example on how to properly add this Secret and inject credentials in EnvoyPatchPolicy?
BTW, i have tested using envoyproxy to inject credentials. It works as expected
[optional Relevant Links:]
The text was updated successfully, but these errors were encountered: