Skip to content

Commit

Permalink
change e2e test namespace name
Browse files Browse the repository at this point in the history
Signed-off-by: Paweł Bojanowski <[email protected]>
  • Loading branch information
hidalgopl committed Feb 4, 2025
1 parent 9b7b21c commit 4148083
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/syncer/fromhost/from_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ sync:
enabled: true
selector:
mappings:
"foobar/*": "barfoo/*"
"from-host-sync-test/*": "barfoo/*"
"default/my-cm": "barfoo/cm-my"

0 comments on commit 4148083

Please sign in to comment.