Skip to content

Commit

Permalink
fix wasm config
Browse files Browse the repository at this point in the history
Signed-off-by: Eguzki Astiz Lezaun <[email protected]>
  • Loading branch information
eguzki committed Oct 22, 2024
1 parent e6f2f53 commit 3347598
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
30 changes: 16 additions & 14 deletions utils/deploy/envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,21 +278,23 @@ data:
},
{
"name": "rlp-ns-D/rlp-name-D",
"hostnames": [
"*.d.rlp.com"
],
"rules": [
"routeRuleConditions": {
"hostnames": [
"*.d.rlp.com"
],
"matches": [
{
"selector": "source.remote_address",
"operator": "neq",
"value": "50.0.0.1"
}
]
},
"actions": [
{
"conditions": [
{
"allOf": [
{
"selector": "source.remote_address",
"operator": "neq",
"value": "50.0.0.1"
}
]
}
"service": "limitador",
"scope": "rlp-ns-D/rlp-name-D,
"data": [
],
"actions": [
{
Expand Down
6 changes: 6 additions & 0 deletions utils/kustomize/limitador/limitador.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ spec:
conditions: []
variables:
- source.remote_address
- namespace: multi-ns-B/multi-name-B
max_value: 5
seconds: 10
conditions:
- "user_id == 'alice'"
variables: []

0 comments on commit 3347598

Please sign in to comment.