You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: conformance/README.md
+44-29Lines changed: 44 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
*[kind](https://kind.sigs.k8s.io/).
6
6
* Docker.
7
7
* Golang.
8
+
*[yq](https://github.com/mikefarah/yq/#install)
8
9
9
10
**Note**: all commands in steps below are executed from the ```conformance``` directory
10
11
@@ -13,66 +14,80 @@ List available commands:
13
14
```bash
14
15
$ make
15
16
17
+
build-and-load-images Build NKG container and load it and NGINX container on configured kind cluster
16
18
build-test-runner-image Build conformance test runner image
19
+
cleanup-conformance-tests Clean up conformance tests fixtures
17
20
create-kind-cluster Create a kind cluster
18
21
delete-kind-cluster Delete kind cluster
19
22
help Display this help
20
-
install-nkg Install NKG with provisioner on configured kind cluster
21
-
prepare-nkg Build and load NKG container on configured kind cluster
23
+
install-nkg-edge Install NKG with provisioner from edge on configured kind cluster
24
+
install-nkg-local-build Install NKG from local build with provisioner on configured kind cluster
25
+
preload-nginx-container Preload NGINX container on configured kind cluster
26
+
prepare-nkg-dependencies Install NKG dependencies on configured kind cluster
22
27
run-conformance-tests Run conformance tests
28
+
undo-image-update Undo the NKG image name and tag in deployment manifest
23
29
uninstall-nkg Uninstall NKG on configured kind cluster
24
-
update-test-kind-config Update kind config
25
30
```
31
+
32
+
**Note:** The following variables are configurable when running the below `make` commands:
33
+
34
+
| Variable | Default | Description |
35
+
| ------------- | ------------- | ------------- |
36
+
| TAG | latest | The tag for the conformance test image |
37
+
| PREFIX | conformance-test-runner | The prefix for the conformance test image |
38
+
| NKG_TAG | edge | The tag for the locally built NKG image |
39
+
| NKG_PREFIX | nginx-kubernetes-gateway | The prefix for the locally built NKG image |
40
+
| KIND_KUBE_CONFIG_FOLDER |~/.kube/kind | The location of the kubeconfig folder |
41
+
| GATEWAY_CLASS | nginx | The gateway class that should be used for the tests |
42
+
| SUPPORTED_FEATURES | HTTPRoute,HTTPRouteQueryParamMatching, HTTPRouteMethodMatching,HTTPRoutePortRedirect, HTTPRouteSchemeRedirect | The supported features that should be tested by the conformance tests. Ensure the list is comma separated with no spaces. |
43
+
| EXEMPT_FEATURES | ReferenceGrant | The features that should not be tested by the conformance tests |
44
+
| NGINX_IMAGE | as defined in the ../deploy/manifests/deployment.yaml file | The NGINX image for the NKG deployments |
45
+
| NKG_DEPLOYMENT_MANIFEST | ../deploy/manifests/deployment.yaml | The location of the NKG deployment manifest |
0 commit comments