-
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(checkrules): allow threshold annotations with&without dash0 prefix
Dash0 renamed the threshold annotations as follows: * threshold-degraded is now dash0-threshold-degraded * threshold-critical is now dash0-threshold-critical Since we validate these annotations in the operator, the validation code needs to updated accordingly to allow the new annotation name. For now, we allow both the legacy names (without the "dash0-" prefix) and also the new names. At some point later, we can make this check stricter and only allow the new names with the prefix.
- Loading branch information
Showing
5 changed files
with
119 additions
and
52 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
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
Oops, something went wrong.