Skip to content

Commit

Permalink
update kuadrant core controller manifests (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki authored Sep 16, 2022
1 parent 2b698a1 commit 94af8e0
Showing 1 changed file with 162 additions and 0 deletions.
162 changes: 162 additions & 0 deletions kuadrantcontrollermanifests/autogenerated/kuadrant-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 94af8e0

Please sign in to comment.