Skip to content

Commit d2a8c7d

Browse files
itzikb-redhatmandre
authored andcommitted
Set EXAMPLE_EXTERNAL_NETWORK_NAME to be used in examples
Instead of using E2E_EXTERNAL_NETWORK_NAME The gate failed because the there was no permission to create a port on that network
1 parent 31ba30c commit d2a8c7d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/local-config/external-network-filter.yaml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ metadata:
66
spec:
77
import:
88
filter:
9-
name: ${E2E_EXTERNAL_NETWORK_NAME}
9+
name: ${EXAMPLE_EXTERNAL_NETWORK_NAME}

hack/run_examples.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ source ./hack/init_test_env.sh
99

1010
export OS_CLOUD=${E2E_OPENSTACK_CLOUD_NAME}
1111

12-
export E2E_EXTERNAL_NETWORK_NAME
12+
# External network to be used in the examples
13+
# NOTE: we should rely on E2E_EXTERNAL_NETWORK_NAME instead
14+
export EXAMPLE_EXTERNAL_NETWORK_NAME=${EXAMPLE_EXTERNAL_NETWORK_NAME:-private}
1315

1416
cd ./examples
1517

0 commit comments

Comments
 (0)