-
Notifications
You must be signed in to change notification settings - Fork 370
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
Promote Egress API to v1beta1 #5180
Conversation
30616a2
to
941941f
Compare
20c4f90
to
1b45078
Compare
Some e2e test cases failed, seems not related to this change. |
1b45078
to
ee20497
Compare
docs/api.md
Outdated
| `ClusterGroup` | v1alpha2 | v1.0.0 | v1.1.0 | v1.12.0 [^1] | | ||
| `Egress` | v1alpha2 | v1.0.0 | v1.13.0 | v2.0.0 | |
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.
If we follow the K8s deprecation policy, we may not be able to remove it in v2.0.0 considering Egress feature gate is already beta, @antoninbas @tnqn any comment?
@wenqiq please resolve conflicts. |
8baf969
to
75860af
Compare
pkg/apis/crd/v1beta1/types.go
Outdated
type AppliedTo struct { | ||
// Select Pods matched by this selector. If set with NamespaceSelector, | ||
// Pods are matched from Namespaces matched by the NamespaceSelector; | ||
// otherwise, Pods are matched from all Namespaces. | ||
// +optional | ||
PodSelector *metav1.LabelSelector `json:"podSelector,omitempty"` | ||
// Select all Pods from Namespaces matched by this selector. If set with | ||
// PodSelector, Pods are matched from Namespaces matched by the | ||
// NamespaceSelector. | ||
// +optional | ||
NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"` | ||
// Groups is the set of ClusterGroup names. | ||
// +optional | ||
Groups []string `json:"groups,omitempty"` | ||
} |
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.
This struct is shared with NetworkPolicy which contains more fields. Perhaps #5186 should be merged first as it contains the complete version of the struct.
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 will rebase after this PR is merged.
75860af
to
65e63e8
Compare
NetworkPolicy API upgrade has been merged, this PR can rebase on it. |
65e63e8
to
a6dfdce
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.
There are many failing checks, please check.
test/e2e/traceflow_test.go
Outdated
@@ -23,6 +23,8 @@ import ( | |||
"testing" | |||
"time" | |||
|
|||
_ "github.com/golang/mock/mockgen/model" |
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.
why is it required?
a6dfdce
to
781be6a
Compare
Signed-off-by: Wenqi Qiu <[email protected]>
781be6a
to
5b00e44
Compare
Signed-off-by: Wenqi Qiu <[email protected]>
/test-all |
/test-e2e |
https://github.com/antrea-io/antrea/actions/runs/5653493868/job/15345762746?pr=5180 |
The failure of test is not introduced by your PR. |
/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
Promote Egress API to v1beta1