From 94af8e0bac7f2a597d12ae2b1b75f784f0b3d154 Mon Sep 17 00:00:00 2001 From: Eguzki Astiz Lezaun Date: Fri, 16 Sep 2022 15:38:15 +0200 Subject: [PATCH] update kuadrant core controller manifests (#46) --- .../autogenerated/kuadrant-controller.yaml | 162 ++++++++++++++++++ 1 file changed, 162 insertions(+) diff --git a/kuadrantcontrollermanifests/autogenerated/kuadrant-controller.yaml b/kuadrantcontrollermanifests/autogenerated/kuadrant-controller.yaml index 8cce953d4..1afc7608f 100644 --- a/kuadrantcontrollermanifests/autogenerated/kuadrant-controller.yaml +++ b/kuadrantcontrollermanifests/autogenerated/kuadrant-controller.yaml @@ -2125,6 +2125,168 @@ spec: x-kubernetes-list-map-keys: - type x-kubernetes-list-type: map + gatewaysRateLimits: + description: GatewaysRateLimits shows the rate limit configuration + applied by policies at the gateway level this field is only meant + for rate limit policies targeting a route + items: + properties: + gatewayName: + type: string + rateLimits: + description: RateLimits holds the list of rate limit configurations + items: + description: RateLimit represents a complete rate limit configuration + properties: + configurations: + description: Configurations holds list of (action) configuration. + items: + description: Configuration represents an action configuration. + The equivalent of [config.route.v3.RateLimit](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-msg-config-route-v3-ratelimit) + envoy object. Each action configuration produces, + at most, one descriptor. Depending on the incoming + request, one configuration may or may not produce + a rate limit descriptor. + properties: + actions: + description: Actions holds list of action specifiers. + Each action specifier can only define one action + type. + items: + description: Action_Specifier defines one envoy + rate limit action + properties: + generic_key: + properties: + descriptor_key: + type: string + descriptor_value: + type: string + required: + - descriptor_value + type: object + metadata: + properties: + default_value: + type: string + descriptor_key: + type: string + metadata_key: + properties: + key: + type: string + path: + items: + properties: + segment: + properties: + key: + type: string + required: + - key + type: object + required: + - segment + type: object + type: array + required: + - key + - path + type: object + source: + default: DYNAMIC + enum: + - DYNAMIC + - ROUTE_ENTRY + type: string + required: + - descriptor_key + - metadata_key + type: object + remote_address: + description: RemoteAddressSpec no need to + specify descriptor entry is populated using + the trusted address from [x-forwarded-for](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_conn_man/headers#config-http-conn-man-headers-x-forwarded-for) + type: object + request_headers: + description: RequestHeadersSpec Rate limit + on request headers. + properties: + descriptor_key: + type: string + header_name: + type: string + skip_if_absent: + type: boolean + required: + - descriptor_key + - header_name + type: object + type: object + type: array + required: + - actions + type: object + type: array + limits: + description: Limits holds a list of Limitador limits + items: + description: Limit represents partially a Limitador + limit. + properties: + conditions: + items: + type: string + type: array + maxValue: + type: integer + seconds: + type: integer + variables: + items: + type: string + type: array + required: + - conditions + - maxValue + - seconds + - variables + type: object + type: array + rules: + description: Rules represents the definition of the scope + of the rate limit object Defines a list of conditions + for which rate limit configuration will apply Matching + occurs when at least one rule applies against the incoming + request. If rules are not set, or empty, it is equivalent + to matching all the requests. + items: + description: Rule defines a single condition for the + rate limit configuration All defined fields within + the rule must be met to have a rule match + properties: + hosts: + items: + type: string + type: array + methods: + items: + type: string + type: array + paths: + items: + type: string + type: array + type: object + type: array + required: + - configurations + type: object + type: array + required: + - gatewayName + type: object + type: array observedGeneration: description: ObservedGeneration reflects the generation of the most recently observed spec.