-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
4.14.0
-
Quality / Stability / Reliability
-
False
-
-
None
-
Moderate
-
No
-
None
-
None
-
Rejected
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
After enable show "User workload notifications" from "User Preferences"->"Notifications" menu, an alert in one project will show up on other project's overview page. Version-Release number of selected component (if applicable):
4.14.0-0.nightly-2023-05-23-103225
How reproducible:
Always
Steps to Reproduce:
1.Login admin console with cluster admin user. Enable user workload in cm "cluster-monitoring-config" under namespace:
{
"apiVersion": "v1",
"data": {
"config.yaml": "enableUserWorkload: true"
},
"kind": "ConfigMap",
"metadata": {
"name": "cluster-monitoring-config",
"namespace": "openshift-monitoring"
}
}
2.Create an alert in one project.
{
"apiVersion": "monitoring.coreos.com/v1",
"kind": "PrometheusRule",
"metadata": {
"name": "example-alert"
},
"spec": {
"groups": [
{
"name": "example",
"rules": [
{
"alert": "TestAlert",
"annotations": {
"message": "Testing 123."
},
"expr": "vector(1)"
}
]
}
]
}
}
3. Enable display of "User workload notifications" from "User Preferences"->"Notifications" menu by not ticking on "Hide user workload notifications".
4. Check on several project's overview page.
Actual results:
4. The alert shows up on overview page for all project.
Expected results:
4. The alert should not show up on other project's overview page.
Additional info:
screenshorts: https://drive.google.com/drive/folders/17Xfli3CWGoWDbaIl0X24-x04kd874_3F?usp=share_link