Skip to content

Commit

Permalink
MGMT-19054: remove LSO as default for CNV on ARM (#6879)
Browse files Browse the repository at this point in the history
  • Loading branch information
eifrach authored Oct 9, 2024
1 parent 476ce3a commit 3c71a8f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/operators/cnv/cnv_operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ func (o *operator) GetDependencies(cluster *common.Cluster) ([]string, error) {
lsoOperator := []string{lso.Operator.Name}
lvmOperator := []string{lvm.Operator.Name}

// Disable lso for ARM deployment as it's not supported
// to allow CNV ARM operator
if cluster.CPUArchitecture == common.ARM64CPUArchitecture || cluster.CPUArchitecture == common.MultiCPUArchitecture {
return make([]string, 0), nil
}

if cluster.OpenshiftVersion == "" {
return lsoOperator, nil
}
Expand Down

0 comments on commit 3c71a8f

Please sign in to comment.