Skip to content

Commit d8bd4b9

Browse files
authored
Use 0.1.0 version in release-0.1 branch (nginx#205)
- Update the tag in the container image - Update image pull policy to IfNotPresent (0.1.0 tag will not change) - Update the version in the Makefile - Checkout v0.1.0 tag in the git clone instructions
1 parent 4c1aab5 commit d8bd4b9

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.1.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
@@ -86,8 +86,8 @@ spec:
8686
- name: nginx-config
8787
mountPath: /etc/nginx
8888
containers:
89-
- image: ghcr.io/nginxinc/nginx-kubernetes-gateway:edge
90-
imagePullPolicy: Always
89+
- image: ghcr.io/nginxinc/nginx-kubernetes-gateway:0.1.0
90+
imagePullPolicy: IfNotPresent
9191
name: nginx-gateway
9292
volumeMounts:
9393
- 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.1.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.1.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.1.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
@@ -14,7 +14,7 @@ This guide walks you through how to install NGINX Kubernetes Gateway on a generi
1414
1. Clone the repo and change into the `nginx-kubernetes-gateway` directory:
1515

1616
```
17-
git clone https://github.com/nginxinc/nginx-kubernetes-gateway.git
17+
git clone https://github.com/nginxinc/nginx-kubernetes-gateway.git --branch v0.1.0
1818
cd nginx-kubernetes-gateway
1919
```
2020

0 commit comments

Comments
 (0)