bug: ratelimit: validation error path or headers must be set
when both path and headers fields are present in CR
#1629
Labels
area/api-gateway
Issues or PRs related to api-gateway
kind/bug
Categorizes issue or PR as related to a bug.
Milestone
When the following rate limit CR is applied the the validation returns an error:
This is incorrect behaviour, because this particular bucket example is projected as valid in ADR. See: https://github.com/kyma-project/api-gateway/blob/main/docs/contributor/adr/0011-rate-limit.md#usage-example
The error is in validation rule in
api-gateway/apis/gateway/ratelimit/v1alpha1/ratelimit_types.go
Line 30 in a936d16
path
orheaders
to be defined./kind bug
/area api-gateway
The text was updated successfully, but these errors were encountered: