kong
kong copied to clipboard
Path cannot be set for grpc protocol
Is there an existing issue for this?
- [X] I have searched the existing issues
Kong version ($ kong version)
3.2.2
Current Behavior
When I set path parameter for a service that has protocol grpc, I get the following:
in '@entity':
- in entry 1 of '@entity': failed conditional validation given value of field 'protocol'
in 'path': value must be null
This was also encountered and reported as part of an other issue https://github.com/Kong/kong/issues/5848:
Also, when adding the grpc service, path parameter cannot be set - its only possible value is null
Expected Behavior
expecting path based stripping to work for grpc services too
Steps To Reproduce
create a service with follding settings:
[...]
protocol: grpc
path: aaa
Anything else?
No response
It seems that this is a known issue: https://github.com/Kong/kong/issues/5685 Maybe we will re-evaluate whether we should support this.
We need to discuss this feature internally to see if this could be a new feature in later version like 3.6/3.7.
internal ticket: KAG-3281, however we currently do not have a detailed plan. Just record it internally for future scheduling considerations.