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
install-nkg-local-build: build-nkg-image load-images prepare-nkg-dependencies deploy-updated-provisioner ## Install NKG from local build with provisioner on configured kind cluster
61
+
62
+
.PHONY: install-nkg-local-build
63
+
install-nkg-local-no-build: load-images prepare-nkg-dependencies deploy-updated-provisioner ## Install NKG from local build with provisioner on configured kind cluster but do not build the NKG image
64
+
52
65
.PHONY: install-nkg-edge
53
66
install-nkg-edge: preload-nginx-container prepare-nkg-dependencies ## Install NKG with provisioner from edge on configured kind cluster
| PREFIX | conformance-test-runner | The prefix for the conformance test image |
38
42
| NKG_TAG | edge | The tag for the locally built NKG image |
39
43
| 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|
44
+
|KIND_KUBE_CONFIG|~/.kube/kind/config | The location of the kubeconfig |
41
45
| GATEWAY_CLASS | nginx | The gateway class that should be used for the tests |
42
46
| 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
47
| EXEMPT_FEATURES | ReferenceGrant | The features that should not be tested by the conformance tests |
@@ -55,10 +59,26 @@ $ make create-kind-cluster
55
59
```bash
56
60
$ make install-nkg-local-build
57
61
```
58
-
59
-
#### *Option 2* Install Nginx Kubernetes Gateway from edge to configured kind cluster
60
-
Instead of the above command, you can skip the build NKG image step and prepare the environment to instead
61
-
use the `edge` image
62
+
#### *Option 2* Install Nginx Kubernetes Gateway from local already built image to configured kind cluster
63
+
```bash
64
+
$ make install-nkg-local-no-build
65
+
```
66
+
**Note:** You can optionally skip the actual *build* step. However, if choosing
67
+
this option, the following step *must* be completed manually *before* the build step:
68
+
* Set NKG_PREFIX=<nkg_repo_name> NKG_TAG=<nkg_image_tag> to preferred values.
69
+
* Navigate to `deploy/manifests` and update values in `deployment.yaml` as specified in below code-block.
70
+
* Save the changes.
71
+
```
72
+
.
73
+
..
74
+
containers:
75
+
- image: <nkg_repo_name>:<nkg_image_tag>
76
+
imagePullPolicy: Never
77
+
..
78
+
.
79
+
```
80
+
#### *Option 3* Install Nginx Kubernetes Gateway from edge to configured kind cluster
81
+
You can also skip the build NKG image step and prepare the environment to instead use the `edge` image
0 commit comments