From 3c71a8f799e4eee00099ce3f31818ba7138b60a8 Mon Sep 17 00:00:00 2001 From: Eran Ifrach <76165038+eifrach@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:23:06 +0300 Subject: [PATCH] MGMT-19054: remove LSO as default for CNV on ARM (#6879) --- internal/operators/cnv/cnv_operator.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/internal/operators/cnv/cnv_operator.go b/internal/operators/cnv/cnv_operator.go index 30d13667dd..7337b9e78a 100644 --- a/internal/operators/cnv/cnv_operator.go +++ b/internal/operators/cnv/cnv_operator.go @@ -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 }