Skip to content

Commit

Permalink
fixup! bundle update
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Jun 16, 2023
1 parent 43b4d65 commit 8c45d6d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 29 deletions.
25 changes: 25 additions & 0 deletions bundle/manifests/kuadrant-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,31 @@ metadata:
"name": "kuadrant-sample"
},
"spec": {}
},
{
"apiVersion": "kuadrant.io/v1beta2",
"kind": "RateLimitPolicy",
"metadata": {
"name": "toystore"
},
"spec": {
"limits": {
"toys": {
"rates": [
{
"duration": 1,
"limit": 50,
"unit": "minute"
}
]
}
},
"targetRef": {
"group": "gateway.networking.k8s.io",
"kind": "HTTPRoute",
"name": "toystore"
}
}
}
]
capabilities: Basic Install
Expand Down
30 changes: 1 addition & 29 deletions config/samples/kuadrant_v1beta2_ratelimitpolicy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kuadrant.io/v1beta1
apiVersion: kuadrant.io/v1beta2
kind: RateLimitPolicy
metadata:
name: toystore
Expand All @@ -14,31 +14,3 @@ spec:
- limit: 50
duration: 1
unit: minute
counters:
- auth.identity.username
routeSelectors:
- matches:
- path:
type: PathPrefix
value: "/toys"
hostnames:
- toys.example.com
when:
- selector: auth.identity.group
operator: neq
value: admin
assets:
rates:
- limit: 5
duration: 1
unit: minute
- limit: 100
duration: 12
unit: hour
routeSelectors:
- matches:
- path:
type: PathPrefix
value: "/assets/"
hostnames:
- assets.example.com

0 comments on commit 8c45d6d

Please sign in to comment.