-
Notifications
You must be signed in to change notification settings - Fork 22
NETOBSERV-2562: Fix console forms with default fields #1193
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
There was an issue with field "prometheus.querier.manual.alertManager.url", which is required when prometheus.querier.manual.alertManager is provided. Behind the scene, an issue was that the console forms (or yaml) with rjsf did override empty default data that were set from the CSV examples based on CRD/openAPI. This PR changes some behaviours: - Callers of resource-watcher now explicitely tell where defaults should be taken from (CSV/CRD/None) - In rjsf form, when defaults don't come from a CRD, avoid having it write defaults - In resource-watcher, force useK8sWatchResource to return a list; without it it's unsound, sometimes returning a list, other times a single object
|
@jotak: This pull request references NETOBSERV-2562 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 bug to target the "4.22.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 |
|
/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=4c7c4b0 make set-plugin-image |
|
/label qe-approved |
|
@jotak: This pull request references NETOBSERV-2562 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 bug to target the "4.22.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: 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. |
Description
There was an issue with field
"prometheus.querier.manual.alertManager.url", which is required when prometheus.querier.manual.alertManager is provided. Behind the scene, an issue was that the console forms (or yaml) with rjsf did override empty default data that were set from the CSV examples based on CRD/openAPI.
This PR changes some behaviours:
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.