-
Notifications
You must be signed in to change notification settings - Fork 402
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
feat(controller): add support for mute timing #1817
base: master
Are you sure you want to change the base?
Conversation
2420950
to
f0b9e9b
Compare
tested in local:
|
Thanks for the PR! I'll take a look at this soon. It's too big of a change for the next release, but we'll get it out soon now that the holiday season is over |
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.
These along with a rebase onto master should be mostly it.
// Whether to enable or disable editing of the mute timing in Grafana UI | ||
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="spec.editable is immutable" | ||
// +optional | ||
Editable *bool `json:"editable,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.
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 don't think we have a definite decision. With new resources, I think we should go with a plain bool (& default to true)
f0b9e9b
to
e569c2d
Compare
e569c2d
to
7fea2dd
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.
This looks great - sorry for the late review!
Once the minor comments I left are addressed, I'm happy to merge this. Will definitely make it into the next release
// Whether to enable or disable editing of the mute timing in Grafana UI | ||
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="spec.editable is immutable" | ||
// +optional | ||
Editable *bool `json:"editable,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.
I don't think we have a definite decision. With new resources, I think we should go with a plain bool (& default to true)
7fea2dd
to
ab40cd9
Compare
To resolve: #1723