From 0b90782be0dae658c13de45315561c1a53d28ef5 Mon Sep 17 00:00:00 2001 From: berkaycanbc Date: Mon, 11 Mar 2024 12:22:07 +0300 Subject: [PATCH] fix: update image registry to correct one --- go-chaos/internal/dataloss_sim_helper.go | 2 +- go-chaos/internal/dataloss_sim_helper_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go-chaos/internal/dataloss_sim_helper.go b/go-chaos/internal/dataloss_sim_helper.go index 1567ab98e..bee7e1a2e 100644 --- a/go-chaos/internal/dataloss_sim_helper.go +++ b/go-chaos/internal/dataloss_sim_helper.go @@ -39,7 +39,7 @@ The init container exits and the zeebe container will be started. func (c K8Client) ApplyInitContainerPatch() error { busyBoxImage := "busybox:latest" if c.SaaSEnv { - busyBoxImage = "gcr.io/camunda-saas-registry/busybox:1.36.1" + busyBoxImage = "europe-docker.pkg.dev/camunda-saas-registry/vendor/busybox:1.36.1" } // apply config map err := createConfigMapForInitContainer(c) diff --git a/go-chaos/internal/dataloss_sim_helper_test.go b/go-chaos/internal/dataloss_sim_helper_test.go index 5a02b647d..f8a48849b 100644 --- a/go-chaos/internal/dataloss_sim_helper_test.go +++ b/go-chaos/internal/dataloss_sim_helper_test.go @@ -35,7 +35,7 @@ func Test_ShouldApplyPatchInSaaS(t *testing.T) { require.NoError(t, result) statefulset, _ := k8Client.GetZeebeStatefulSet() busyBoxImageName := statefulset.Spec.Template.Spec.InitContainers[0].Image - assert.Equal(t, "gcr.io/camunda-saas-registry/busybox:1.36.1", busyBoxImageName) + assert.Equal(t, "europe-docker.pkg.dev/camunda-saas-registry/vendor/busybox:1.36.1", busyBoxImageName) } func Test_ShouldApplyPatchInSelfManaged(t *testing.T) {