---
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
  creationTimestamp: "2022-03-08T10:14:10Z"
  generation: 1
  labels:
    prometheus: alert-rules
    role: alert-rules
  managedFields:
  - apiVersion: monitoring.coreos.com/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          .: {}
          f:prometheus: {}
          f:role: {}
      f:spec:
        .: {}
        f:groups: {}
    manager: cluster-version-operator
    operation: Update
    time: "2022-03-08T10:14:10Z"
  name: olm-alert-rules
  namespace: openshift-operator-lifecycle-manager
  resourceVersion: "1614"
  selfLink: /apis/monitoring.coreos.com/v1/namespaces/openshift-operator-lifecycle-manager/prometheusrules/olm-alert-rules
  uid: 71246795-4de1-4ba2-9ddc-1002f37287d1
spec:
  groups:
  - name: olm.failing_operators.rules
    rules:
    - alert: FailingOperator
      annotations:
        message: Failed to install Operator {{ $labels.name }} version {{ $labels.version }}. Reason-{{ $labels.reason }}
      expr: csv_abnormal{phase="Failed"}
      labels:
        severity: warning
