-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix OVNKubernetes alert rules for OpenShift 4.14
OpenShift 4.14 moved the OVNKubernetes control plane alerts (and we can't use the 4.13 alerts, because 4.14 makes significant changes to the OVNKubernetes architecture). Additionally 4.14 introduced gotemplate snippets in the OVNKubernetes alerts that we need to render. Since the files also contain gotemplate snippets which aren't valid Jinja2, we implement very simple rendering logic which uses `std.strReplace()` in the component.
- Loading branch information
Showing
2 changed files
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters