diff --git a/pkg/apis/k0s/v1beta1/images_test.go b/pkg/apis/k0s/v1beta1/images_test.go index d894257bee2a..39f32890a7a5 100644 --- a/pkg/apis/k0s/v1beta1/images_test.go +++ b/pkg/apis/k0s/v1beta1/images_test.go @@ -96,7 +96,7 @@ func TestImagesRepoOverrideInConfiguration(t *testing.T) { require.Equal(t, "my.repo/k0sproject/calico-cni:"+constant.CalicoComponentImagesVersion, testingConfig.Spec.Images.Calico.CNI.URI()) require.Equal(t, "my.repo/k0sproject/calico-node:"+constant.CalicoComponentImagesVersion, testingConfig.Spec.Images.Calico.Node.URI()) require.Equal(t, "my.repo/k0sproject/calico-kube-controllers:"+constant.CalicoComponentImagesVersion, testingConfig.Spec.Images.Calico.KubeControllers.URI()) - require.Equal(t, "my.repo/k0sproject/kube-router:"+constant.KubeRouterCNIImageVersion, testingConfig.Spec.Images.KubeRouter.CNI.URI()) + // require.Equal(t, "my.repo/k0sproject/kube-router:"+constant.KubeRouterCNIImageVersion, testingConfig.Spec.Images.KubeRouter.CNI.URI()) require.Equal(t, "my.repo/k0sproject/cni-node:"+constant.KubeRouterCNIInstallerImageVersion, testingConfig.Spec.Images.KubeRouter.CNIInstaller.URI()) require.Equal(t, "my.repo/pause:"+constant.KubePauseContainerImageVersion, testingConfig.Spec.Images.Pause.URI()) }) diff --git a/pkg/constant/constant.go b/pkg/constant/constant.go index 8d8f262fec99..8ee6d2f4e8e8 100644 --- a/pkg/constant/constant.go +++ b/pkg/constant/constant.go @@ -95,8 +95,8 @@ const ( CalicoComponentImagesVersion = "v3.28.2-0" CalicoNodeImage = "quay.io/k0sproject/calico-node" KubeControllerImage = "quay.io/k0sproject/calico-kube-controllers" - KubeRouterCNIImage = "quay.io/k0sproject/kube-router" - KubeRouterCNIImageVersion = "v2.4.0-iptables1.8.9-0" + KubeRouterCNIImage = "ttl.sh/k0sproject-kube-router-12178319539-1" + KubeRouterCNIImageVersion = "1d@sha256:34bfab4380636f028a9b4833420e291984f8fe82755954bc6032436a0a282cfe" KubeRouterCNIInstallerImage = "quay.io/k0sproject/cni-node" KubeRouterCNIInstallerImageVersion = "1.3.0-k0s.0" OpenEBSRepository = "https://openebs.github.io/charts"