-
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
feat: accepted policy status condition #347
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #347 +/- ##
==========================================
+ Coverage 65.01% 65.48% +0.47%
==========================================
Files 35 37 +2
Lines 3796 3842 +46
==========================================
+ Hits 2468 2516 +48
- Misses 1132 1135 +3
+ Partials 196 191 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
|
f55a205
to
5d369a4
Compare
8fdebeb
to
d5eb4c3
Compare
@sergioifg94 FYI |
79395c3
to
90dc540
Compare
90dc540
to
5f8287e
Compare
0bb44f2
to
b52a06d
Compare
This has been merged to main |
f1e2c66
to
5863b25
Compare
5863b25
to
ba26ec2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look good, haven't verified yet, just had one tiny optional suggestion for the AuthPolicy controller test
bc81062
to
cd5ce7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with make local-setup ISTIO_INSTALL_SAIL=false
while #380 is not merged.
❯ kubectl get authpolicies -n default -o wide
NAME STATUS TARGETREFKIND TARGETREFNAME AGE
auth0 Accepted HTTPRoute toystore 3m31s
auth1 Conflicted HTTPRoute toystore 3m31s
auth2 TargetNotFound Gateway istio-ingressgateway-not-found 3m31s
auth3 Invalid Gateway istio-ingressgateway 3m31s
❯ kubectl get ratelimitpolicies -n default -o wide
NAME STATUS TARGETREFKIND TARGETREFNAME AGE
rlp0 Accepted HTTPRoute toystore 36s
rlp1 Conflicted HTTPRoute toystore 36s
rlp2 TargetNotFound Gateway istio-ingressgateway-not-found 36s
rlp3 Invalid Gateway istio-ingressgateway 36s
Good job!
cd5ce7e
to
64b8232
Compare
Just rebased with latest changes from main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of the current failed tests are failing because of checking the ConfigMap holding the istioctl config, but I don't see any changes here affecting that directly... let me know and I could inspect the tests a bit more thoroughly.
64b8232
to
6874ca6
Compare
Rebased with main containing #391 |
Description
Part of Kuadrant/architecture#38
Implements the
Accepted
Status Condition toRateLimitPolicy
andAuthPolicy
Verfication
Functionality is generally already tested with the integration tests added.
To verify manually instead:
Setup
make local-setup
AuthPolicy
Sample Output
RateLimitPolicy
Sample Output