-
Notifications
You must be signed in to change notification settings - Fork 349
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
EnvoyGateway rateLimitDeployment ignores pod labels #4226
Comments
this indeed a bug, @oscarboher would you like to send a fix? BTW, I think we may also have issue on merging annotations. |
I wouldn't mind trying! any guidance will be welcome too. About the merge annotation issue you mean with the prometheus annotations? |
that's the point. |
hey @oscarboher thanks for giving it a try, assigning this you for now, let us know how we can help |
a workaround could be to use the I haven't tested this config, but something similar should help here
|
running the tests for resource_provider locally, some of the cases in testDeployments fail because they were defining the annotation |
Description:
When configuring the rate limit deployment through the
envoy-gateway-config
configmap, theprovider.kubernetes.rateLimitDeployment.pod.labels
field is ignored.Other fields at the same level like annotations are respected.
Repro steps:
gateway v1.1 (experimental channel)
envoy-gateway installed through helm chart v0.0.0-latest
create GatewayClass with envoy controller.
Update
envoy-gateway-config
configmap inenvoy-gateway-system
namespace with the following values:Rollout restart envoy-gateway deployment for it to pick up the changes.
Deployment envoy-ratelimit has the annotation
test-anno: test
in the pod spec, but not the labelmy-label: test
Environment:
The text was updated successfully, but these errors were encountered: