-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Describe the bug
The default GRPCRoute doesn't match the spec.
At least one of Service and Method MUST be a non-empty string.
https://gateway-api.sigs.k8s.io/reference/spec/#grpcmethodmatch
Related helm chart
argo-cd
Helm chart version
9.0.5
To Reproduce
server:
grpcroute:
enabled: true
parentRefs:
- name: example-gateway
namespace: gateway-system
sectionName: grpcThis will try to create a GRPCRoute with
rules:
- matches:
- method:
type: Exactwhich will result in an error
GRPCRoute.gateway.networking.k8s.io "argocd-server-grpc" is invalid: spec.rules[0].matches[0].method: Invalid value: "object": One or both of 'service' or 'method' must be specified
This matches the docs spec, see first quote/link above.
Expected behavior
The default GRPCRoute, as described in docs should work out of the box. https://github.com/argoproj/argo-helm/tree/main/charts/argo-cd#gateway-api-with-grpc-support
I'm not sure, what the correct configuration would be here. I tried a RegularExpression regex to match all, but that broke the api completely.