-
Notifications
You must be signed in to change notification settings - Fork 22
NETOBSERV-2519: implement form for FlowCollectorSlice #1166
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
base: main
Are you sure you want to change the base?
Conversation
- Implement missing form for FlowCollectorSlice
- Add a script to generate schemas for tests
- Fix URL declaration for FlowMetrics form (fixes NETOBSERV-2520)
This url wasn't declared as it should: /k8s/cluster/flows.netobserv.io~v1alpha1~FlowMetric/~new
- Move the delete modal into its own component; adjust some texts
|
@jotak: This pull request references NETOBSERV-2519 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.21.0" version, but no target version was set. DetailsIn 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. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@jotak: This pull request references NETOBSERV-2519 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.21.0" version, but no target version was set. DetailsIn 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. |
|
@jotak: This pull request references NETOBSERV-2519 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.21.0" version, but no target version was set. DetailsIn 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. |
|
/ok-to-test |
|
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=a3a14e7 make set-plugin-image |
|
@jotak: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/label qe-approved |
|
@jotak: This pull request references NETOBSERV-2519 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.21.0" version, but no target version was set. DetailsIn 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. |
|
/label needs-review |
|
@Amoghrd: The label(s) DetailsIn 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 kubernetes-sigs/prow repository. |
| fcSchema=`kubectl get crd flowcollectors.flows.netobserv.io -ojsonpath='{.spec.versions[0].schema.openAPIV3Schema}' | jq` | ||
| fcsSchema=`kubectl get crd flowcollectorslices.flows.netobserv.io -ojsonpath='{.spec.versions[0].schema.openAPIV3Schema}' | jq` | ||
| fmSchema=`kubectl get crd flowmetrics.flows.netobserv.io -ojsonpath='{.spec.versions[0].schema.openAPIV3Schema}' | jq` |
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 not pulling operator main branch and parsing those from YAMLs ?
https://github.com/search?q=repo%3Anetobserv%2Fnetwork-observability-operator+openAPIV3Schema+language%3AYAML&type=code&l=YAML
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 found it more convenient to do it from a running cluster, rather than having to wait for the operator PR to be merged. Of course we could pass a custom repo/branch to the script, as another alternative. But idk, doing it from the cluster seemed just good enough to me
| case 'flowCollectorSlice': | ||
| return <FlowCollectorSliceForm name="flowCollectorSlice-sample" />; |
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 think we should create a wizard for FlowCollectorSlice too
That would be especially useful when it will grow with additionnal options.
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 didn't because it's just 2 fields, I don't see the need for simplified setup at the moment, but yes if that grows up then it can become useful
Description
v1alpha1FlowMetric/~newDependencies
Operator: netobserv/network-observability-operator#2171
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.