-
Notifications
You must be signed in to change notification settings - Fork 404
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
Feature: Provision Individual Notification Policy Routes #1767
Comments
Thanks for the feature request. Having separate resources makes sense, but we worry that this would significantly complicate the operator code. Your example is sensible, but we'd have to support nesting and composition at arbitrary layers. Since this could become very technically involved, can you draft up a design proposal (similar to #1611)? The contents of this issue are a good starting point and with a PR open we can better discuss specific aspects |
As discussed in grafana#1767, this is the proposal for adding a new NotificationPolicyRoute CRD that allows assembling a Notification Policy from individual resources. Please let me know what you think and thanks for your support!
This issue hasn't been updated for a while, marking as stale, please respond within the next 7 days to remove this label |
Not stale, there is an active feature request and draft PR |
Is your feature request related to a problem? Please describe.
We need to dynamically add notification policy routes for different contact points.
In our case new Contact Points can be added dynamically during runtime and we need to be able to also dynamically add Notification Policy Routes to these Contact Points.
Describe the solution you'd like
Having a separate
GrafanaNotificationPolicyRoute
Kind and arouteSelector
attribute in the existingGrafanaNotificationPolicy
could probably solve this issue.Something like:
These would result in the following merged routes:
Assuming that routes with a higher priority value are added before lower priority values.
Please let me know what you think, this is just an initial idea from my side.
I would be open to help with the implementation on this.
Thanks a lot for your support!
The text was updated successfully, but these errors were encountered: