Skip to content

Commit

Permalink
fix: update image registry to correct one (#508)
Browse files Browse the repository at this point in the history
**Description**

Based on the [Slack
thread](https://camunda.slack.com/archives/CQZGZ882Z/p1710145484340359?thread_ts=1710144915.404369&cid=CQZGZ882Z)
our image registry is changed for int and dev. That causes our chaos
tests to fail. This PR is attempting to fix the registry.
  • Loading branch information
berkaycanbc authored Mar 15, 2024
2 parents c62497a + 0b90782 commit 76c018b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go-chaos/internal/dataloss_sim_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion go-chaos/internal/dataloss_sim_helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 76c018b

Please sign in to comment.