-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
MON-3902: add initial Monitoring CRD api #1929
MON-3902: add initial Monitoring CRD api #1929
Conversation
Skipping CI for Draft Pull Request. |
Hello @marioferh! Some important instructions when contributing to openshift/api: |
f5c996c
to
7ff5883
Compare
@marioferh: This pull request references MON-3902 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 sub-task to target the "4.17.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. |
9603c29
to
9c70852
Compare
9c70852
to
7ad01c2
Compare
9cef41b
to
dd98b0c
Compare
acd1f91
to
905b2a2
Compare
/retest-required |
/test e2e-upgrade-minor |
905b2a2
to
d5ac7cc
Compare
/retest-required |
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.
Some changes are needed here. I added a couple of suggestions as well. While we will go over this when things move to v1
once more in detail, it's worth getting details right from the get go too I think.
6508ce9
to
57616ed
Compare
@marioferh: This pull request references MON-3902 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 sub-task to target either version "4.18." or "openshift-4.18.", but it targets "openshift-4.17" instead. 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. |
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.
Please review the linter issues and resolve those, in particular, lots of fields aren't marked either as optional or required, they will need to be updated.
Try make lint-fix
to help where some issues can be auto-fixed
// +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/1929 | ||
// +openshift:file-pattern=cvoRunLevel=0000_10,operatorName=config-operator,operatorOrdering=01 | ||
// +kubebuilder:object:root=true | ||
// +kubebuilder:resource:path=clustermonitoring,scope=Cluster |
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.
Ok, so if I'm reading the last few comments correctly, we are happy to proceed with this design as is, and will create a new abstraction at the HostedCluster level for HCP relevant parts of monitoring the management side
1a1bee7
to
6884e3e
Compare
/retest |
From the linter, these ones should be fixed. The first four WRT empty json tag is a bug that I'll fix this afternoon
|
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.
Couple of nits, plus the linter fixes and I think this is good to go
5407e51
to
a4ec8a2
Compare
Add UserDefinedMonitoring Add tests Add FeatureGate generate files Signed-off-by: Mario Fernandez <mariofer@redhat.com>
a4ec8a2
to
80c3c40
Compare
Changes LGTM, waiting on a linter fix to merge to verify a green lint, and then we can get this merged In the mean time, will double check on EP updates |
/test lint |
/retest-required |
/test okd-scos-e2e-aws-ovn |
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
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jan--f, JoelSpeed, marioferh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest-required |
/label acknowledge-critical-fixes-only This only affects the payload in adding a new techpreview CRD. @marioferh is continuing to work on this feature over shutdown, and not having this merged is a blocker for him. I believe this is sufficiently low enough risk to merge even under the critical fixes label |
/retest |
188620a
into
openshift:master
[ART PR BUILD NOTIFIER] Distgit: ose-cluster-config-api |
Initial Implementation of Configuration CRD for the Cluster Monitoring Operator
Related: Enhancements Proposal [link]
As we have a FeatureGate, the idea is to implement component by component to verify the correct behavior and facilitate the reviews.
The API comes from https://github.com/openshift/cluster-monitoring-operator/blob/7015893ece5ed0a6f888fffe09b6d10a807d6901/pkg/manifests/config.go#L51