Skip to content

Commit 2b6bb8d

Browse files
committed
Use 0.2.0 version in release branch
- Update the tag in the container image - Update image pull policy to IfNotPresent - Update the version in the Makefile - Checkout v0.2.0 tag in the git clone instructions
1 parent 71863f0 commit 2b6bb8d

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = edge
1+
VERSION = 0.2.0
22
TAG = $(VERSION)
33
PREFIX ?= nginx-kubernetes-gateway
44

deploy/manifests/nginx-gateway.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ spec:
9595
- name: nginx-config
9696
mountPath: /etc/nginx
9797
containers:
98-
- image: ghcr.io/nginxinc/nginx-kubernetes-gateway:edge
99-
imagePullPolicy: Always
98+
- image: ghcr.io/nginxinc/nginx-kubernetes-gateway:0.2.0
99+
imagePullPolicy: IfNotPresent
100100
name: nginx-gateway
101101
volumeMounts:
102102
- name: nginx-config

docs/building-the-image.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Before you can build the NGINX Kubernetes Gateway, make sure you have the follow
1212
1. Clone the repo and change into the `nginx-kubernetes-gateway` directory:
1313

1414
```
15-
git clone https://github.com/nginxinc/nginx-kubernetes-gateway.git
15+
git clone https://github.com/nginxinc/nginx-kubernetes-gateway.git --branch v0.2.0
1616
cd nginx-kubernetes-gateway
1717
```
1818

@@ -22,12 +22,12 @@ Before you can build the NGINX Kubernetes Gateway, make sure you have the follow
2222
make PREFIX=myregistry.example.com/nginx-kubernetes-gateway container
2323
```
2424

25-
Set the `PREFIX` variable to the name of the registry you'd like to push the image to. By default, the image will be named `nginx-kubernetes-gateway:edge`.
25+
Set the `PREFIX` variable to the name of the registry you'd like to push the image to. By default, the image will be named `nginx-kubernetes-gateway:0.2.0`.
2626

2727
1. Push the image to your container registry:
2828

2929
```
30-
docker push myregistry.example.com/nginx-kubernetes-gateway:edge
30+
docker push myregistry.example.com/nginx-kubernetes-gateway:0.2.0
3131
```
3232

3333
Make sure to substitute `myregistry.example.com/nginx-kubernetes-gateway` with your registry.

docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This guide walks you through how to install NGINX Kubernetes Gateway on a generi
1313
1. Clone the repo and change into the `nginx-kubernetes-gateway` directory:
1414

1515
```
16-
git clone https://github.com/nginxinc/nginx-kubernetes-gateway.git
16+
git clone https://github.com/nginxinc/nginx-kubernetes-gateway.git --branch v0.2.0
1717
cd nginx-kubernetes-gateway
1818
```
1919

0 commit comments

Comments
 (0)