From 414808378dc37d54940401f75363edf690650c12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bojanowski?= Date: Tue, 4 Feb 2025 10:05:31 +0100 Subject: [PATCH] change e2e test namespace name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Bojanowski --- .github/workflows/e2e.yaml | 2 +- Justfile | 2 +- test/e2e/syncer/fromhost/from_host.go | 2 +- test/e2e/values.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index ad0232ecc..b56c47028 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -413,7 +413,7 @@ jobs: fi if [ ${{ matrix.test-suite-path }} == "./test/e2e" ]; then - kubectl create namespace foobar + kubectl create namespace from-host-sync-test fi sudo apt-get install -y sed diff --git a/Justfile b/Justfile index 8526e2824..5e17e3153 100644 --- a/Justfile +++ b/Justfile @@ -119,7 +119,7 @@ e2e distribution="k3s" path="./test/e2e" multinamespace="false": create-kind && sed -i.bak "s|kind-control-plane|vcluster-control-plane|g" dist/commonValues.yaml rm dist/commonValues.yaml.bak - kubectl create namespace foobar + kubectl create namespace from-host-sync-test ./dist/vcluster-cli_$(go env GOOS)_$(go env GOARCH | sed s/amd64/amd64_v1/g)/vcluster \ create vcluster -n vcluster \ --create-namespace \ diff --git a/test/e2e/syncer/fromhost/from_host.go b/test/e2e/syncer/fromhost/from_host.go index 8c70ac94f..33771e40e 100644 --- a/test/e2e/syncer/fromhost/from_host.go +++ b/test/e2e/syncer/fromhost/from_host.go @@ -17,7 +17,7 @@ var _ = ginkgo.Describe("ConfigMaps are synced to host and can be used in Pods", configMap1 *corev1.ConfigMap configMap2 *corev1.ConfigMap cm1Name = "dummy" - cm1HostNamespace = "foobar" + cm1HostNamespace = "from-host-sync-test" cmsVirtualNamespace = "barfoo" cm2HostNamespace = "default" cm2HostName = "my-cm" diff --git a/test/e2e/values.yaml b/test/e2e/values.yaml index 3b6987dee..800e36eba 100644 --- a/test/e2e/values.yaml +++ b/test/e2e/values.yaml @@ -38,5 +38,5 @@ sync: enabled: true selector: mappings: - "foobar/*": "barfoo/*" + "from-host-sync-test/*": "barfoo/*" "default/my-cm": "barfoo/cm-my"