-
Notifications
You must be signed in to change notification settings - Fork 367
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
API change: controlplane v1beta2 #1467
Conversation
Thanks for your PR. The following commands are available:
|
/test-all |
Codecov Report
@@ Coverage Diff @@
## master #1467 +/- ##
===========================================
- Coverage 67.46% 56.34% -11.12%
===========================================
Files 160 126 -34
Lines 12951 11662 -1289
===========================================
- Hits 8737 6571 -2166
- Misses 3285 4457 +1172
+ Partials 929 634 -295
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@Dyanngg please revert the changes to the Github workflows (addition of |
5ac1624
to
1692fff
Compare
Thanks for the reminder. Done |
/test-all |
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.
LGTM - It's a huge diff so I didn't review it in details, but I reviewed the individual PRs previously.
Shall we merge Audit logging(#1216 ) first? @qiyueyao plans to push rebased version this afternoon |
Okay I'll wait for that |
…1405) * Upgrade ExternalEntity to v1alpha2 and update GroupMember struct * Add more UT * Add backward-comp UT testcases and address comments * Address more comments * Update controlplane.v1alpha1 to controlplane.v1alpha2 * Remove External Entity v1alpha1 support * Fix yaml errors for v1alpha1 ExternalEntities * Add upgrade tests into actions for controlplane v1beta2 branch
- Remove GroupMemberPod entirely - Update AddressGroup and AppliedToGroup conversions - Always add PodRef for GroupMember
The namespace and name of the controlplane NetworkPolicy were copied from the namespace and name of its original NetworkPolicy. If a Antrea NetworkPolicy and a K8s NetworkPolicy have the same namespace and name, they would override each other when converting to controlplane NetworkPolicy. Besides, similar to appliedToGroup and addressGroup, the controlplane NetworkPolicy should be cluster scoped. This patch makes the controlplane NetworkPolicy cluster scoped and changes to use the UID of the original NetworkPolicy as its name to ensure uniqueness.
1692fff
to
1f98b71
Compare
Rebased onto #1216 and resolved merge conflicts (mostly v1beta1 and v1beta2 naming conflicts). Added EnableLogging field into |
/test-all |
Merging the feature branch into master, which constitutes three PRs that involves using the new controlplane.v1beta2 API:
Some small rebasing is done to resolve merge conflicts with Antctl cnp anp support #1301. @GraysonWu has already verified with the feature branch that the rebasing does not affect the functionality of that PR.