Skip to content

Commit

Permalink
support console unmanaged mode (#2956)
Browse files Browse the repository at this point in the history
Co-authored-by: Stavros Kontopoulos <st.kontopoulos@gmail.com>
  • Loading branch information
openshift-cherrypick-robot and skonto authored Oct 21, 2024
1 parent b252486 commit 97aa2e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func IsConsoleInstalled() bool {
// and checks if it is available.
func IsClusterOperatorAvailable(status configv1.ClusterOperatorStatus) bool {
for _, cond := range status.Conditions {
if cond.Type == configv1.OperatorAvailable && cond.Status == configv1.ConditionTrue {
if cond.Type == configv1.OperatorAvailable && (cond.Status == configv1.ConditionTrue || cond.Reason == "Unmanaged") {
return true
}
}
Expand Down

0 comments on commit 97aa2e8

Please sign in to comment.