-
Notifications
You must be signed in to change notification settings - Fork 344
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
fix: ApisixRoute update operations is not effective #319
Conversation
@gxthrj Please take a look when you have time. |
name: httpbin-route | ||
spec: | ||
http: | ||
- name: rule1 |
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.
should add cases :
the diff name
in the same ApisixRoute
.
the same name
in the diff ApisixRoute
.
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.
Cannot totally capture your mean.
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.
I mean add test cases:
- In the same
ApisixRoute
yaml ,but changespec.http.name
when update - In the different
ApisixRoute
yaml, but have the samespec.http.name
, which means name is conflict.
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.
OK, will add it.
Codecov Report
@@ Coverage Diff @@
## master #319 +/- ##
==========================================
+ Coverage 39.25% 41.84% +2.59%
==========================================
Files 42 39 -3
Lines 3577 3444 -133
==========================================
+ Hits 1404 1441 +37
+ Misses 2012 1842 -170
Partials 161 161
Continue to review full report at Codecov.
|
Please answer these questions before submitting a pull request
Why submit this pull request?
Bugfix
New feature provided
Improve performance
Backport patches
Related issues
bug: Modify the route.yaml configuration to not update apisix synchronously #312
What does this PR do:
manifest
, it's used byApisixRouteController
,IngressController
andEndpointController
.pkg/seven/state
.Create and remove the ApisixRoute
, adding update operation and sending requests to APISIX.