Skip to content

Commit

Permalink
E2E: allow setting the namespace frrk8s run in
Browse files Browse the repository at this point in the history
The namespace is hardcoded, we want to make it possible to override it
so we can run the tests in other deployments.

Signed-off-by: Federico Paolinelli <[email protected]>
  • Loading branch information
fedepaol committed Sep 9, 2024
1 parent b1b2a5f commit 3cafec5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2etests/e2etest_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

"github.com/metallb/frrk8stests/pkg/dump"
"github.com/metallb/frrk8stests/pkg/infra"
"github.com/metallb/frrk8stests/pkg/k8s"
"github.com/metallb/frrk8stests/pkg/k8sclient"
"github.com/metallb/frrk8stests/tests"
"github.com/onsi/ginkgo/v2"
Expand Down Expand Up @@ -38,6 +39,7 @@ func handleFlags() {
flag.StringVar(&externalContainers, "external-containers", "", "a comma separated list of external containers names to use for the test. (valid parameters are: ibgp-single-hop / ibgp-multi-hop / ebgp-single-hop / ebgp-multi-hop)")
flag.StringVar(&executor.Kubectl, "kubectl", "kubectl", "the path for the kubectl binary")
flag.StringVar(&frrImage, "frr-image", "quay.io/frrouting/frr:9.1.0", "the image to use for the external frr containers")
flag.StringVar(&k8s.FRRK8sNamespace, "frr-k8s-namespace", "frr-k8s-system", "the namespace frr-k8s is running in")

flag.Parse()

Expand Down

0 comments on commit 3cafec5

Please sign in to comment.