Skip to content
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

Update controller manifests #14

Merged
merged 1 commit into from
Apr 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 39 additions & 18 deletions bundle/manifests/apim.kuadrant.io_ratelimitpolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ spec:
spec:
description: RateLimitPolicySpec defines the desired state of RateLimitPolicy
properties:
domain:
type: string
limits:
items:
description: RateLimitSpec defines the desired state of RateLimit
Expand Down Expand Up @@ -63,7 +65,6 @@ spec:
type: object
type: array
rateLimits:
description: RateLimits are used for all of the matching rules
items:
properties:
actions:
Expand Down Expand Up @@ -154,13 +155,31 @@ spec:
- stage
type: object
type: array
routes:
description: route specific staging and actions
rules:
items:
properties:
name:
description: name of the route present in the virutalservice
description: Name supports regex for fetching operations from
routing resources For VirtualService, if route name matches,
all the match requests are converted to operations internally.
But specific match request names are also supported.
type: string
operations:
description: Operation specifies the operations of a request
items:
description: Each operation type has OR semantics and overall
AND semantics for a match.
properties:
methods:
items:
type: string
type: array
paths:
items:
type: string
type: array
type: object
type: array
rateLimits:
items:
properties:
Expand Down Expand Up @@ -253,33 +272,35 @@ spec:
- stage
type: object
type: array
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
required:
- domain
type: object
status:
description: RateLimitPolicyStatus defines the observed state of RateLimitPolicy
properties:
httproutes:
items:
properties:
gateways:
items:
type: string
type: array
name:
type: string
required:
- name
type: object
type: array
virtualservices:
description: VirtualServices represents the current VirtualService
objects with reference to this ratelimitpolicy object
items:
properties:
gateways:
items:
properties:
name:
type: string
namespace:
type: string
required:
- name
- namespace
type: object
type: string
type: array
name:
type: string
Expand Down