|
1 | 1 | # WARNING: This is an example - please copy this file to vars.env and complete appropriately for your environment
|
2 |
| -RESOURCE_NAME=<the name of the resources to be created for testing (used for VM, firewall rule, router, nats config)> |
3 | 2 | TAG=<tag of the remote image>
|
4 | 3 | PREFIX=<prefix of the remote image>
|
5 | 4 | NGINX_PREFIX=<prefix of the remote nginx image>
|
6 | 5 | NGINX_PLUS_PREFIX=<prefix of the remote nginx plus image>
|
7 |
| -GKE_CLUSTER_NAME=<name of deployed GKE cluster> |
8 |
| -GKE_CLUSTER_ZONE=<zone where GKE cluster is deployed> |
9 |
| -GKE_CLUSTER_REGION=<region where GKE cluster is deployed> |
10 |
| -GKE_PROJECT=<GCP project> |
11 |
| -GKE_SVC_ACCOUNT=<service account with k8s admin permissions> |
12 |
| -GKE_NODES_SERVICE_ACCOUNT=<service account for the GKE nodes to assume> |
13 |
| -NETWORK_TAGS=<network tags> |
14 | 6 | NGF_REPO=<optional repo, by default nginxinc>
|
15 | 7 | NGF_BRANCH=main
|
16 | 8 | GINKGO_LABEL=<optional label to filter the tests, e.g. "performance">
|
17 | 9 | GINKGO_FLAGS=<optional flags to pass to the go test command>
|
18 |
| -SOURCE_IP_RANGE=<IPs that should be allowed SSH to the VM, e.g. 1.2.3.4/32 or $(curl -sS -4 icanhazip.com)/32> |
19 |
| -ADD_VM_IP_AUTH_NETWORKS=<if set to true, the script will add the VM IP to the list of the GKE cluster master authorized networks> |
20 | 10 | PLUS_ENABLED=<enable nginx plus>
|
21 | 11 | NGF_VERSION=<version of NGF being tested. Defaults to value of TAG if not set>
|
22 |
| -GKE_MACHINE_TYPE=<the node type for the gke cluster, defaults to e2-medium> |
23 |
| -GKE_NUM_NODES=<the number of nodes in the gke cluster, defaults to 3> |
0 commit comments