diff --git a/test/e2e/template/helmfile/snapshot_test.go b/test/e2e/template/helmfile/snapshot_test.go index dd1c5fa5..e775d4c0 100644 --- a/test/e2e/template/helmfile/snapshot_test.go +++ b/test/e2e/template/helmfile/snapshot_test.go @@ -172,7 +172,7 @@ func testHelmfileTemplateWithBuildCommand(t *testing.T, goccyGoYaml bool) { // run the docker registry v2 and push the test charts to the registry // so that it can be accessed by helm and helmfile as a oci registry based chart repository. if config.LocalDockerRegistry.Enabled { - containerName := "helmfile_docker_registry" + containerName := strings.Join([]string{"helmfile_docker_registry", name}, "_") hostPort := config.LocalDockerRegistry.Port if hostPort <= 0 { diff --git a/test/e2e/template/helmfile/testdata/snapshot/oci_chart_pull/config.yaml b/test/e2e/template/helmfile/testdata/snapshot/oci_chart_pull/config.yaml index 55a14538..c9145492 100644 --- a/test/e2e/template/helmfile/testdata/snapshot/oci_chart_pull/config.yaml +++ b/test/e2e/template/helmfile/testdata/snapshot/oci_chart_pull/config.yaml @@ -1,6 +1,6 @@ localDockerRegistry: enabled: true - port: 5000 + port: 5001 chartifyTempDir: temp2 helmfileArgs: - template diff --git a/test/e2e/template/helmfile/testdata/snapshot/oci_chart_pull/input.yaml b/test/e2e/template/helmfile/testdata/snapshot/oci_chart_pull/input.yaml index 2bb1dcc7..194400a6 100644 --- a/test/e2e/template/helmfile/testdata/snapshot/oci_chart_pull/input.yaml +++ b/test/e2e/template/helmfile/testdata/snapshot/oci_chart_pull/input.yaml @@ -1,6 +1,6 @@ repositories: - name: myrepo - url: localhost:5000/myrepo + url: localhost:5001/myrepo oci: true releases: diff --git a/test/e2e/template/helmfile/testdata/snapshot/oci_chart_pull/output.yaml b/test/e2e/template/helmfile/testdata/snapshot/oci_chart_pull/output.yaml index 9a8b477e..c187cbcd 100644 --- a/test/e2e/template/helmfile/testdata/snapshot/oci_chart_pull/output.yaml +++ b/test/e2e/template/helmfile/testdata/snapshot/oci_chart_pull/output.yaml @@ -1,4 +1,4 @@ -Pulling localhost:5000/myrepo/raw:0.1.0 +Pulling localhost:5001/myrepo/raw:0.1.0 Templating release=foo, chart=$TMP/foo/raw/0.1.0/raw --- # Source: raw/templates/resources.yaml diff --git a/test/e2e/template/helmfile/testdata/snapshot/oci_need/config.yaml b/test/e2e/template/helmfile/testdata/snapshot/oci_need/config.yaml index c8c60f23..c3a26f4a 100644 --- a/test/e2e/template/helmfile/testdata/snapshot/oci_need/config.yaml +++ b/test/e2e/template/helmfile/testdata/snapshot/oci_need/config.yaml @@ -1,6 +1,6 @@ localDockerRegistry: enabled: true - port: 5000 + port: 5002 chartifyTempDir: temp1 helmfileArgs: - template diff --git a/test/e2e/template/helmfile/testdata/snapshot/oci_need/input.yaml b/test/e2e/template/helmfile/testdata/snapshot/oci_need/input.yaml index 1824b051..1e63d06b 100644 --- a/test/e2e/template/helmfile/testdata/snapshot/oci_need/input.yaml +++ b/test/e2e/template/helmfile/testdata/snapshot/oci_need/input.yaml @@ -23,5 +23,5 @@ releases: bar: BAR dependencies: - alias: dep - chart: oci://localhost:5000/myrepo/raw + chart: oci://localhost:5002/myrepo/raw version: 0.1.0 diff --git a/test/e2e/template/helmfile/testdata/snapshot/oci_need/output.yaml b/test/e2e/template/helmfile/testdata/snapshot/oci_need/output.yaml index 3ff51e69..baf64c9d 100644 --- a/test/e2e/template/helmfile/testdata/snapshot/oci_need/output.yaml +++ b/test/e2e/template/helmfile/testdata/snapshot/oci_need/output.yaml @@ -1,6 +1,6 @@ Building dependency release=foo, chart=$WD/temp1/foo Saving 1 charts -Downloading raw from repo oci://localhost:5000/myrepo +Downloading raw from repo oci://localhost:5002/myrepo Deleting outdated charts Templating release=foo, chart=$WD/temp1/foo