-
Notifications
You must be signed in to change notification settings - Fork 33
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
sotw: rlp workflow #893
base: main
Are you sure you want to change the base?
sotw: rlp workflow #893
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #893 +/- ##
===========================================
- Coverage 81.49% 28.14% -53.36%
===========================================
Files 102 114 +12
Lines 7177 7763 +586
===========================================
- Hits 5849 2185 -3664
- Misses 898 5453 +4555
+ Partials 430 125 -305
Flags with carried forward coverage won't be shown. Click here to find out more.
|
leave the policy status to me, it is WIP in another branch |
0fe564a
to
125a5ff
Compare
125a5ff
to
4cef480
Compare
e2f7dc5
to
b5bd72f
Compare
Policy status belongs to this workflow. On you now. |
45f6211
to
bb71440
Compare
6436530
to
3408c68
Compare
Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
…mPlugin resources Signed-off-by: Guilherme Cassolato <[email protected]>
…Plugins are up to date already and therefore nothing to be done Signed-off-by: Guilherme Cassolato <[email protected]>
…ost specific to least specific Signed-off-by: Guilherme Cassolato <[email protected]>
…and WasmPlugin Signed-off-by: Guilherme Cassolato <[email protected]>
75d385b
to
c1c5fe0
Compare
…tp route match from most specific to least specific Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
… hostname and http route match Signed-off-by: Guilherme Cassolato <[email protected]>
…ensionPolicy and ease the merge of auth * Separate the code for building Wasm Configs from any logic specific to the Istio WasmPlugin resource * Move all generic Wasm-related code either upwards to a common file of the workflow tasks (in the `controllers` package) into new package `pkg/wasm` (replacing `pkg/rlptools/wasm`) * Logic related to RL reconciliation → controllers/ratelimit_workflow.go * Logic related to Wasm Config types → pkg/wasm * Rename `rlptools` package as `ratelimit` – only Limitador RateLimit index types remaining there Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
Signed-off-by: Guilherme Cassolato <[email protected]>
… found Signed-off-by: Guilherme Cassolato <[email protected]>
80bd0ae
to
0a6e7f4
Compare
Signed-off-by: Guilherme Cassolato <[email protected]>
0a6e7f4
to
5f1109a
Compare
State-of-the-world reconciler – RLP workflow
spec.targetRef.sectionName
spec.(defaults|overrides).strategy
Closes #821
Verification steps
Setup the environment:
(Until Kuadrant/wasm-shim#110 is merged) Patch the deployment to enable the new wasm-shim config structure:
kubectl set env -n kuadrant-system deployment/kuadrant-operator-controller-manager RELATED_IMAGE_WASMSHIM=quay.io/kuadrant/wasm-shim:config-revamp
Enable Envoy Gateway alongside with Istio:
Deploy an application:
(From now on and at anytime) Send requests to the application:
Deploy Kuadrant:
Create a gateway atomic default policy:
Create a route policy:
Modify the gateway policy to atomic override strategy:
Modify the gateway policy to merge override strategy:
Modify the route policy to define limits with the same name as limits defined by the gateway policy: