Skip to content
  • Miciah Masters's avatar
    status: Set Available/Degraded from default ingress · 3c1bcf7b
    Miciah Masters authored
    Use only the default ingresscontroller for computing the clusteroperator's
    "Available" and "Degraded" status conditions.  The status of other ingress-
    controllers can be monitored using alerts; the clusteroperator should only
    report status as required for basic cluster functionality, and core
    components should depend only on the default ingresscontroller.
    
    This commit is related to bug 1955854.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1955854
    
    * pkg/operator/controller/status/controller.go (Reconcile): Pass
    state.IngressControllers to computeOperatorStatusVersions.
    (computeOperatorDegradedCondition, computeOperatorAvailableCondition): Use
    only the default ingresscontroller to compute status conditions.
    3c1bcf7b