This PR introduces a component that renders markdown runbooks it also contains EntityPrometheusAlertCard to allow for easier share of data between these two components.
Example:
To have this component working properly we have ensure following items are present:
[ ] Annotations prometheus.io/alert and prometheus.io/labels with proper values are added to cluster resource entity
[ ] Defined alert rules which contain runbook_url annotation which has value of url of the markdown file containing runbook
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/operate-first/service-catalog/blob/main/OWNERS)~~ [tumido]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
This PR introduces a component that renders markdown runbooks it also contains
EntityPrometheusAlertCard
to allow for easier share of data between these two components. Example: To have this component working properly we have ensure following items are present:prometheus.io/alert
andprometheus.io/labels
with proper values are added to cluster resource entityrunbook_url
annotation which has value of url of the markdown file containing runbook