Skip to content

Commit

Permalink
support console unmanaged mode
Browse files Browse the repository at this point in the history
  • Loading branch information
skonto committed Oct 16, 2024
1 parent 19304b9 commit 0d9ff6e
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 0d9ff6e

Please sign in to comment.