From f32ca1a31fe447ba8f7611ae4a82396cf63ffbbd Mon Sep 17 00:00:00 2001 From: Carlos Laviola Date: Wed, 3 May 2023 11:21:31 +0200 Subject: [PATCH] MetalLB: update to v0.13.9 - now uses a single manifest - supports aarch64 (ARM), so remove the Intel-only restriction Signed-off-by: Carlos Laviola --- cmd/apps/metallb_app.go | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/cmd/apps/metallb_app.go b/cmd/apps/metallb_app.go index 5775bcee9..2b3fdeb6f 100644 --- a/cmd/apps/metallb_app.go +++ b/cmd/apps/metallb_app.go @@ -15,8 +15,7 @@ import ( ) const ( - MetalLBNamespaceManifest = "https://raw.githubusercontent.com/metallb/metallb/v0.10.2/manifests/namespace.yaml" - MetalLBManifest = "https://raw.githubusercontent.com/metallb/metallb/v0.10.2/manifests/metallb.yaml" + MetalLBManifest = "https://raw.githubusercontent.com/metallb/metallb/v0.13.9/config/manifests/metallb-native.yaml" ) func MakeInstallMetalLB() *cobra.Command { @@ -54,19 +53,8 @@ func MakeInstallMetalLB() *cobra.Command { return err } - arch := k8s.GetNodeArchitecture() - fmt.Printf("Node architecture: %q\n", arch) - - if arch != IntelArch { - return fmt.Errorf(OnlyIntelArch) - } - addressRange, _ := command.Flags().GetString("address-range") - if err := k8s.Kubectl("apply", "-f", MetalLBNamespaceManifest); err != nil { - return err - } - if err := k8s.Kubectl("apply", "-f", MetalLBManifest); err != nil { return err }