-
Notifications
You must be signed in to change notification settings - Fork 2k
fix(argo-cd): support empty matches in GRPCRoute rules #3604
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
Conversation
3a746bc to
1f026fd
Compare
|
|
|
A workaround for now: server:
grpcroute:
rules:
- matches:
- headers:
- name: Content-Type
type: RegularExpression
value: "^application/grpc.*$" |
It's used for every single PR and is a requirement. |
Is this a new requirement then? There is only one entry so far... |
|
Very much a requirement. Very much not new. You replace the old with the new. That's how people know what has changed with your release. |
|
Aha! I did not that new values replaced old ones. Thanks for the explanation. |
1f026fd to
cc4ff38
Compare
Signed-off-by: Eric Bailey <[email protected]>
cc4ff38 to
1310051
Compare
|
Prior to this PR, the following values would result in invalid YAML. # charts/argo-cd/ci/grpcroute-empty-matches.yaml
server:
grpcroute:
enabled: true
rules:
- matches: []spec:
rules:
backendRefs:
- name: argo-cd-argocd-server
port: 443
weight: 1With this PR, the result is as follows, which is valid YAML. spec:
rules:
- backendRefs:
- name: argo-cd-argocd-server
port: 443
weight: 1 |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Checklist: