Skip to content

Commit

Permalink
FIXME use kube-router image from CI
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Wieczorek <[email protected]>
  • Loading branch information
twz123 committed Dec 16, 2024
1 parent e06622d commit f2b03f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/k0s/v1beta1/images_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
})
Expand Down
4 changes: 2 additions & 2 deletions pkg/constant/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -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-12276505442-2"
KubeRouterCNIImageVersion = "1d@sha256:c87940e890af55597d77c299e502c7b9c062c981ef95de80e40b4e448a99732d"
KubeRouterCNIInstallerImage = "quay.io/k0sproject/cni-node"
KubeRouterCNIInstallerImageVersion = "1.3.0-k0s.0"
OpenEBSRepository = "https://openebs.github.io/charts"
Expand Down

0 comments on commit f2b03f9

Please sign in to comment.