Skip to content

Commit 5853629

Browse files
committed
Apply gateway API CRDs and NGF CRDs
1 parent a978346 commit 5853629

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/scripts/remote-scripts/run-ipv6-test.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,21 @@ cd nginx-gateway-fabric/tests
88

99
echo "Prefix: ${PREFIX}, Tag: ${TAG}"
1010

11+
echo "Applying Gateway API CRDs"
12+
kubectl kustomize "https://github.com/nginx/nginx-gateway-fabric/config/crd/gateway-api/standard?ref=v2.1.1" | kubectl apply -f -
13+
14+
echo "Applying NGF CRDs"
15+
kubectl apply --server-side -f https://raw.githubusercontent.com/nginx/nginx-gateway-fabric/v2.1.1/deploy/crds.yaml
16+
1117
echo "Installing NGF with IPv6 configuration"
1218
helm install ngf oci://ghcr.io/nginx/charts/nginx-gateway-fabric \
1319
--create-namespace -n nginx-gateway \
1420
--set nginx.config.ipFamily=ipv6 \
1521
--set nginx.service.type=ClusterIP
1622

23+
echo "Waiting for NGF deployment to be available"
24+
kubectl wait --timeout=5m -n nginx-gateway deployment/ngf-nginx-gateway-fabric --for=condition=Available
25+
1726
echo "Deploying IPv6 test application"
1827
kubectl apply -f tests/manifests/ipv6-test-app.yaml
1928

0 commit comments

Comments
 (0)