-
Bug
-
Resolution: Done
-
Normal
-
None
-
4.16.z
-
Moderate
-
None
-
False
-
Description of problem:
Presence of namespace labels openshift.io/cluster-monitoring=, openshift.io/user-monitoring= cause user alerts to stop firing.
Version-Release number of selected component (if applicable):
How reproducible:
Everytime
Steps to Reproduce:
1.Create a namespace 2.Create a prometheusrule to fire in the namespace 3.Add the labels to the namespace ~~~ oc label namespace testalert openshift.io/cluster-monitoring="true" openshift.io/user-monitoring="true" --overwrite ~~~ The labels can be set to true or false. 4. User alert created for the namespace stops firing. 5. Remove the labels and the alert start to fire back again
Actual results:
The alerts stop firing no matter the label is set to true or false
Expected results:
The alerts shouldn't be affected when this is set to true
Additional info: