-
Notifications
You must be signed in to change notification settings - Fork 25
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
NETOBSERV-1203: New Features field for FLP #540
Conversation
Move MultiCluster and Zone into a new Feature enum/list, similar to Agent's features
@jotak: This pull request references NETOBSERV-1203 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #540 +/- ##
==========================================
- Coverage 57.93% 57.63% -0.31%
==========================================
Files 72 72
Lines 9524 9543 +19
==========================================
- Hits 5518 5500 -18
- Misses 3673 3704 +31
- Partials 333 339 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
/hold |
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, my comment here is hypotetical, it will only be a problem if we want some features enabled by default.
// - `Zone`: allows availability zone awareness by labelling flows with their source and destination zones. | ||
// This feature requires the "topology.kubernetes.io/zone" label to be set on nodes.<br> | ||
// +optional | ||
Features []ProcessorFeature `json:"features,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.
The approach of having a list of feature is fine as long as we don't want some feature enabled by default. Then it can becomes a bit misleading for the user.
Lets say we want Zone enabled by default. If a user wants to enable Multicluster, the user will have to go from not set to ["Zone", "MultiCluster"]. Many users could inadvertently disable the default feature.
superseded by #545 |
Description
Follow-up on #537
Move MultiCluster and Zone into a new Feature enum/list, similar to Agent's features.
This should be backported to 1.5
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.