Skip to content

Commit

Permalink
support console unmanaged mode
Browse files Browse the repository at this point in the history
  • Loading branch information
skonto authored and openshift-cherrypick-robot committed Oct 18, 2024
1 parent b252486 commit d55bf60
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 d55bf60

Please sign in to comment.