Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-75729

Update the APIs based on how the alert rule is managed

XMLWordPrintable

    • CNV I/U Operators Sprint 282
    • None

      Update the APIs to check if the alert rule is manage by an operator and source is "user".
      1. For GET rules APIs , return the label that reports this information
      2. For DELETE rule -  Do not allow deletion since they would be reconciled.
      Return an error that this alert is managed by an operator, therefor can't be deleted and can only be silenced.
      3. For alert rules in Platform alerts that are managed by the AlertingRule CRD - Allow to create/update/delete rules.
      4. For Update rules - Only allow updating the group and component labels.

      We would enable this by using an external mapping that we will need to manage for them - CNV-75208

              alitman@redhat.com Aviv Litman
              sradco Shirly Radco
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: