Skip to content

Commit c9ec25b

Browse files
author
Tyler Slaton
committed
fix(prometheus): change copy on alerts for PR
Signed-off-by: Tyler Slaton <[email protected]>
1 parent 9317022 commit c9ec25b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deploy/chart/templates/0000_90_olm_01-prometheus-rule.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
namespace: "{{ "{{ $labels.namespace }}" }}"
2020
annotations:
2121
summary: CSV failed for over 2 minutes
22-
description: Fires whenever a CSV has been in a state other than succeeded for more than 2 minutes
22+
description: Fires whenever a CSV has been in the failed phase for more than 2 minutes.
2323
message: Failed to install Operator {{ printf "{{ $labels.name }}" }} version {{ printf "{{ $labels.version }}" }}. Reason-{{ printf "{{ $labels.reason }}" }}
2424
- alert: CsvAbnormalOver30Min
2525
expr: csv_abnormal{phase=~"(^Replacing$|^Pending$|^Deleting$|^Unknown$)"}
@@ -29,7 +29,7 @@ spec:
2929
namespace: "{{ "{{ $labels.namespace }}" }}"
3030
annotations:
3131
summary: CSV abnormal for over 30 minutes
32-
description: Fires whenever a CSV is abnormal for more than 30 minutes
32+
description: Fires whenever a CSV is in the Replacing, Pending, Deleting, or Unkown phase for more than 30 minutes.
3333
message: Failed to install Operator {{ printf "{{ $labels.name }}" }} version {{ printf "{{ $labels.version }}" }}. Phase-{{ printf "{{ $labels.phase }}" }} Reason-{{ printf "{{ $labels.reason }}" }}
3434
- name: olm.installplan.rules
3535
rules:

pkg/controller/operators/catalog/testdata/prometheusrule.cr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
- alert: SeriousAlert
1313
annotations:
1414
summary: Serious Alert!
15-
description: This is a very serious alert!
15+
description: This is a test alert, it is not real.
1616
message: A serious alert!
1717
expr: alert_status{prioirity="Serious"}
1818
labels:

0 commit comments

Comments
 (0)