File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ This command will build the binary and output it to the `/build/.out` directory.
46
46
To build an NGINX Kubernetes Gateway container image from source run the following make command:
47
47
48
48
```shell
49
- make container
49
+ make TAG=$(whoami) container
50
50
```
51
51
52
- This will build the docker image `nginx-kubernetes-gateway:edge `.
52
+ This will build the docker image `nginx-kubernetes-gateway:<your-user> `.
53
53
54
54
## Deploy on Kind
55
55
@@ -62,7 +62,7 @@ This will build the docker image `nginx-kubernetes-gateway:edge`.
62
62
2. Load the previously built image onto your `kind` cluster:
63
63
64
64
```shell
65
- kind load docker-image nginx-kubernetes-gateway:edge
65
+ kind load docker-image nginx-kubernetes-gateway:$(whoami)
66
66
```
67
67
68
68
3. Modify the image name and image pull policy for the `nginx-gateway` container in the
@@ -75,7 +75,7 @@ This will build the docker image `nginx-kubernetes-gateway:edge`.
75
75
`deployment.yaml`:
76
76
77
77
```shell
78
- cat deploy/manifests/deployment.yaml | sed "s|image: ghcr.io/nginxinc/nginx-kubernetes-gateway.*|image: nginx-kubernetes-gateway:edge |" | sed "s|imagePullPolicy: Always|imagePullPolicy: IfNotPresent|" | kubectl apply -f -
78
+ cat deploy/manifests/deployment.yaml | sed "s|image: ghcr.io/nginxinc/nginx-kubernetes-gateway.*|image: nginx-kubernetes-gateway:$(whoami) |" | sed "s|imagePullPolicy: Always|imagePullPolicy: IfNotPresent|" | kubectl apply -f -
79
79
```
80
80
81
81
### Run Examples
You can’t perform that action at this time.
0 commit comments