Skip to content

Commit

Permalink
Use new --context subctl flags
Browse files Browse the repository at this point in the history
--kubecontexts is deprecated.

Signed-off-by: Stephen Kitt <[email protected]>
  • Loading branch information
skitt authored and tpantelis committed Nov 1, 2022
1 parent dc8cd49 commit 41b1dbc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/test/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ command -v subctl || curl -Ls https://get.submariner.io | VERSION=devel bash
load_settings
verify="connectivity"
[[ "${LIGHTHOUSE}" != "true" ]] || verify="service-discovery"
contexts="${clusters[*]}"

# Run generic E2E tests between the clusters
subctl verify --only "${verify}" --submariner-namespace="$subm_ns" \
--verbose --connection-timeout 20 --connection-attempts 4 \
--kubecontexts "${contexts//${IFS:0:1}/,}"
--context "${clusters[0]}" --tocontext "${clusters[1]}"

0 comments on commit 41b1dbc

Please sign in to comment.