Skip to content

Commit 803e6d6

Browse files
authored
Release 0.6.0 (#1021)
Add changelog and update manifests and documentation for the release.
1 parent e7c8a21 commit 803e6d6

16 files changed

+64
-41
lines changed

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,28 @@ This document includes a curated changelog for each release. We also publish a c
44
a [GitHub release](https://github.com/nginxinc/nginx-kubernetes-gateway/releases), which, by contrast, is auto-generated
55
and includes links to all PRs that went into the release.
66

7+
## Release 0.6.0
8+
9+
*August 31, 2023*
10+
11+
This release adds a Helm chart, dynamic control plane logging, Prometheus metrics, and in-depth guides for various use cases.
12+
13+
FEATURES:
14+
15+
- Helm chart. [PR-840](https://github.com/nginxinc/nginx-kubernetes-gateway/pull/840)
16+
- Use custom nginx container. [PR-934](https://github.com/nginxinc/nginx-kubernetes-gateway/pull/911)
17+
- Support dynamic control plane logging. [PR-943](https://github.com/nginxinc/nginx-kubernetes-gateway/pull/943)
18+
- Support websocket connections. [PR-962](https://github.com/nginxinc/nginx-kubernetes-gateway/pull/962)
19+
- Support Prometheus metrics. [PR-999](https://github.com/nginxinc/nginx-kubernetes-gateway/pull/999)
20+
21+
BUG FIXES:
22+
23+
- Ensure NGINX Kubernetes Gateway has least privileges. [PR-1004](https://github.com/nginxinc/nginx-kubernetes-gateway/pull/1004)
24+
25+
DOCUMENTATION:
26+
27+
- Use case guides: https://github.com/nginxinc/nginx-kubernetes-gateway/tree/v0.6.0/docs/guides
28+
729
## Release 0.5.0
830

931
*July 17, 2023*

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# variables that should not be overridden by the user
2-
VERSION = edge
2+
VERSION = 0.6.0
33
GIT_COMMIT = $(shell git rev-parse HEAD || echo "unknown")
44
DATE = $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
55
MANIFEST_DIR = $(shell pwd)/deploy/manifests

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Learn about our [design principles](/docs/developer/design-principles.md) and [a
3232
We publish NGINX Kubernetes Gateway releases on GitHub. See
3333
our [releases page](https://github.com/nginxinc/nginx-kubernetes-gateway/releases).
3434

35-
The latest release is [0.5.0](https://github.com/nginxinc/nginx-kubernetes-gateway/releases/tag/v0.5.0).
35+
The latest release is [0.6.0](https://github.com/nginxinc/nginx-kubernetes-gateway/releases/tag/v0.6.0).
3636

3737
The edge version is useful for experimenting with new features that are not yet published in a release. To use, choose
3838
the *edge* version built from the [latest commit](https://github.com/nginxinc/nginx-kubernetes-gateway/commits/main)
@@ -51,7 +51,7 @@ to the correct versions:
5151

5252
| Version | Description | Image | Installation Manifests | Documentation and Examples |
5353
|----------------|------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
54-
| Latest release | For experimental use | Use the 0.5.0 image from [GitHub](https://github.com/nginxinc/nginx-kubernetes-gateway/pkgs/container/nginx-kubernetes-gateway) | [Manifests](https://github.com/nginxinc/nginx-kubernetes-gateway/tree/v0.5.0/deploy). | [Documentation](https://github.com/nginxinc/nginx-kubernetes-gateway/tree/v0.5.0/docs). [Examples](https://github.com/nginxinc/nginx-kubernetes-gateway/tree/v0.5.0/examples). |
54+
| Latest release | For experimental use | Use the 0.6.0 image from [GitHub](https://github.com/nginxinc/nginx-kubernetes-gateway/pkgs/container/nginx-kubernetes-gateway) | [Manifests](https://github.com/nginxinc/nginx-kubernetes-gateway/tree/v0.6.0/deploy). | [Documentation](https://github.com/nginxinc/nginx-kubernetes-gateway/tree/v0.6.0/docs). [Examples](https://github.com/nginxinc/nginx-kubernetes-gateway/tree/v0.6.0/examples). |
5555
| Edge | For experimental use and latest features | Use the edge image from [GitHub](https://github.com/nginxinc/nginx-kubernetes-gateway/pkgs/container/nginx-kubernetes-gateway) | [Manifests](https://github.com/nginxinc/nginx-kubernetes-gateway/tree/main/deploy). | [Documentation](https://github.com/nginxinc/nginx-kubernetes-gateway/tree/main/docs). [Examples](https://github.com/nginxinc/nginx-kubernetes-gateway/tree/main/examples). |
5656

5757
## Technical Specifications
@@ -60,7 +60,8 @@ The following table lists the software versions NGINX Kubernetes Gateway support
6060

6161
| NGINX Kubernetes Gateway | Gateway API | Kubernetes | NGINX OSS |
6262
|--------------------------|-------------|------------|-----------|
63-
| Edge | 0.8.0 | 1.22+ | 1.25.2 |
63+
| Edge | 0.8.0 | 1.23+ | 1.25.2 |
64+
| 0.6.0 | 0.8.0 | 1.23+ | 1.25.2 |
6465
| 0.5.0 | 0.7.1 | 1.21+ | 1.25.x * |
6566
| 0.4.0 | 0.7.1 | 1.21+ | 1.25.x * |
6667
| 0.3.0 | 0.6.2 | 1.21+ | 1.23.x * |

conformance/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
NKG_TAG = edge
1+
NKG_TAG = 0.6.0
22
NKG_PREFIX = nginx-kubernetes-gateway
33
NGINX_IMAGE_NAME = $(NKG_PREFIX)/nginx
44
GW_API_VERSION ?= 0.8.0

conformance/provisioner/provisioner.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ spec:
6161
spec:
6262
serviceAccountName: nginx-gateway-provisioner
6363
containers:
64-
- image: ghcr.io/nginxinc/nginx-kubernetes-gateway:edge
64+
- image: ghcr.io/nginxinc/nginx-kubernetes-gateway:0.6.0
6565
imagePullPolicy: Always
6666
name: nginx-gateway-provisioner
6767
securityContext:

conformance/provisioner/static-deployment.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
labels:
99
app.kubernetes.io/name: nginx-gateway
1010
app.kubernetes.io/instance: nginx-gateway
11-
app.kubernetes.io/version: "edge"
11+
app.kubernetes.io/version: "0.6.0"
1212
spec:
1313
# We only support a single replica for now
1414
replicas: 1
@@ -38,8 +38,8 @@ spec:
3838
valueFrom:
3939
fieldRef:
4040
fieldPath: metadata.namespace
41-
image: ghcr.io/nginxinc/nginx-kubernetes-gateway:edge
42-
imagePullPolicy: Always
41+
image: ghcr.io/nginxinc/nginx-kubernetes-gateway:0.6.0
42+
imagePullPolicy: IfNotPresent
4343
name: nginx-gateway
4444
securityContext:
4545
allowPrivilegeEscalation: false
@@ -58,8 +58,8 @@ spec:
5858
mountPath: /etc/nginx/secrets
5959
- name: nginx-run
6060
mountPath: /var/run/nginx
61-
- image: ghcr.io/nginxinc/nginx-kubernetes-gateway/nginx:edge
62-
imagePullPolicy: Always
61+
- image: ghcr.io/nginxinc/nginx-kubernetes-gateway/nginx:0.6.0
62+
imagePullPolicy: IfNotPresent
6363
name: nginx
6464
ports:
6565
- containerPort: 80

deploy/helm-chart/Chart.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: nginx-kubernetes-gateway
33
description: NGINX Kubernetes Gateway
44
type: application
55
version: 0.1.0
6-
appVersion: "edge"
6+
appVersion: "0.6.0"
77
home: https://github.com/nginxinc/nginx-kubernetes-gateway
8-
icon: https://raw.githubusercontent.com/nginxinc/nginx-kubernetes-gateway/tree/main/deploy/helm-chart/chart-icon.png
8+
icon: https://raw.githubusercontent.com/nginxinc/nginx-kubernetes-gateway/tree/v0.6.0/deploy/helm-chart/chart-icon.png
99
sources:
10-
- https://github.com/nginxinc/nginx-kubernetes-gateway/tree/main/deploy/helm-chart
10+
- https://github.com/nginxinc/nginx-kubernetes-gateway/tree/v0.6.0/deploy/helm-chart
1111
keywords:
1212
- kubernetes
1313
- gateway

deploy/helm-chart/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ To install the chart with the release name `my-release` (`my-release` is the nam
3030
nginx-gateway namespace (with optional `--create-namespace` flag - you can omit if the namespace already exists):
3131

3232
```shell
33-
helm install my-release oci://ghcr.io/nginxinc/charts/nginx-kubernetes-gateway --version 0.0.0-edge --create-namespace --wait -n nginx-gateway
33+
helm install my-release oci://ghcr.io/nginxinc/charts/nginx-kubernetes-gateway --version 0.6.0 --create-namespace --wait -n nginx-gateway
3434
```
3535

3636
### Installing the Chart via Sources
3737

3838
#### Pulling the Chart
3939

4040
```shell
41-
helm pull oci://ghcr.io/nginxinc/charts/nginx-kubernetes-gateway --untar --version 0.0.0-edge
41+
helm pull oci://ghcr.io/nginxinc/charts/nginx-kubernetes-gateway --untar --version 0.6.0
4242
cd nginx-kubernetes-gateway
4343
```
4444

@@ -83,7 +83,7 @@ Warning: kubectl apply should be used on resource created by either kubectl crea
8383
To upgrade the release `my-release`, run:
8484

8585
```shell
86-
helm upgrade my-release oci://ghcr.io/nginxinc/charts/nginx-kubernetes-gateway --version 0.0.0-edge -n nginx-gateway
86+
helm upgrade my-release oci://ghcr.io/nginxinc/charts/nginx-kubernetes-gateway --version 0.6.0 -n nginx-gateway
8787
```
8888

8989
### Upgrading the Chart from the Sources

deploy/helm-chart/values.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ nginxGateway:
1717
image:
1818
## The NGINX Kubernetes Gateway image to use
1919
repository: ghcr.io/nginxinc/nginx-kubernetes-gateway
20-
tag: edge
21-
pullPolicy: Always
20+
tag: 0.6.0
21+
pullPolicy: IfNotPresent
2222

2323
nginx:
2424
## The NGINX image to use
2525
image:
2626
repository: ghcr.io/nginxinc/nginx-kubernetes-gateway/nginx
27-
tag: edge
28-
pullPolicy: Always
27+
tag: 0.6.0
28+
pullPolicy: IfNotPresent
2929

3030
serviceAccount:
3131
annotations: {}

deploy/manifests/nginx-gateway.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
labels:
1313
app.kubernetes.io/name: nginx-gateway
1414
app.kubernetes.io/instance: nginx-gateway
15-
app.kubernetes.io/version: "edge"
15+
app.kubernetes.io/version: "0.6.0"
1616
annotations:
1717
{}
1818
---
@@ -24,7 +24,7 @@ metadata:
2424
labels:
2525
app.kubernetes.io/name: nginx-gateway
2626
app.kubernetes.io/instance: nginx-gateway
27-
app.kubernetes.io/version: "edge"
27+
app.kubernetes.io/version: "0.6.0"
2828
rules:
2929
- apiGroups:
3030
- ""
@@ -90,7 +90,7 @@ metadata:
9090
labels:
9191
app.kubernetes.io/name: nginx-gateway
9292
app.kubernetes.io/instance: nginx-gateway
93-
app.kubernetes.io/version: "edge"
93+
app.kubernetes.io/version: "0.6.0"
9494
roleRef:
9595
apiGroup: rbac.authorization.k8s.io
9696
kind: ClusterRole
@@ -109,7 +109,7 @@ metadata:
109109
labels:
110110
app.kubernetes.io/name: nginx-gateway
111111
app.kubernetes.io/instance: nginx-gateway
112-
app.kubernetes.io/version: "edge"
112+
app.kubernetes.io/version: "0.6.0"
113113
spec:
114114
# We only support a single replica for now
115115
replicas: 1
@@ -142,8 +142,8 @@ spec:
142142
valueFrom:
143143
fieldRef:
144144
fieldPath: metadata.namespace
145-
image: ghcr.io/nginxinc/nginx-kubernetes-gateway:edge
146-
imagePullPolicy: Always
145+
image: ghcr.io/nginxinc/nginx-kubernetes-gateway:0.6.0
146+
imagePullPolicy: IfNotPresent
147147
name: nginx-gateway
148148
ports:
149149
- name: metrics
@@ -165,8 +165,8 @@ spec:
165165
mountPath: /etc/nginx/secrets
166166
- name: nginx-run
167167
mountPath: /var/run/nginx
168-
- image: ghcr.io/nginxinc/nginx-kubernetes-gateway/nginx:edge
169-
imagePullPolicy: Always
168+
- image: ghcr.io/nginxinc/nginx-kubernetes-gateway/nginx:0.6.0
169+
imagePullPolicy: IfNotPresent
170170
name: nginx
171171
ports:
172172
- containerPort: 80
@@ -218,7 +218,7 @@ metadata:
218218
labels:
219219
app.kubernetes.io/name: nginx-gateway
220220
app.kubernetes.io/instance: nginx-gateway
221-
app.kubernetes.io/version: "edge"
221+
app.kubernetes.io/version: "0.6.0"
222222
spec:
223223
controllerName: gateway.nginx.org/nginx-gateway-controller
224224
---
@@ -231,7 +231,7 @@ metadata:
231231
labels:
232232
app.kubernetes.io/name: nginx-gateway
233233
app.kubernetes.io/instance: nginx-gateway
234-
app.kubernetes.io/version: "edge"
234+
app.kubernetes.io/version: "0.6.0"
235235
spec:
236236
logging:
237237
level: info

deploy/manifests/service/loadbalancer-aws-nlb.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
labels:
99
app.kubernetes.io/name: nginx-gateway
1010
app.kubernetes.io/instance: nginx-gateway
11-
app.kubernetes.io/version: "edge"
11+
app.kubernetes.io/version: "0.6.0"
1212
annotations:
1313
service.beta.kubernetes.io/aws-load-balancer-type: nlb
1414
spec:

deploy/manifests/service/loadbalancer.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
labels:
99
app.kubernetes.io/name: nginx-gateway
1010
app.kubernetes.io/instance: nginx-gateway
11-
app.kubernetes.io/version: "edge"
11+
app.kubernetes.io/version: "0.6.0"
1212
spec:
1313
externalTrafficPolicy: Local
1414
type: LoadBalancer

deploy/manifests/service/nodeport.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
labels:
99
app.kubernetes.io/name: nginx-gateway
1010
app.kubernetes.io/instance: nginx-gateway
11-
app.kubernetes.io/version: "edge"
11+
app.kubernetes.io/version: "0.6.0"
1212
spec:
1313
type: NodePort
1414
selector:

docs/building-the-images.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ installed on your machine:
1515
1. Clone the repo and change into the `nginx-kubernetes-gateway` directory:
1616

1717
```shell
18-
git clone https://github.com/nginxinc/nginx-kubernetes-gateway.git
18+
git clone https://github.com/nginxinc/nginx-kubernetes-gateway.git --branch v0.6.0
1919
cd nginx-kubernetes-gateway
2020
```
2121

@@ -39,13 +39,13 @@ installed on your machine:
3939
```
4040

4141
Set the `PREFIX` variable to the name of the registry you'd like to push the image to. By default, the images will be
42-
named `nginx-kubernetes-gateway:edge` and `nginx-kubernetes-gateway/nginx:edge`.
42+
named `nginx-kubernetes-gateway:0.6.0` and `nginx-kubernetes-gateway/nginx:0.6.0`.
4343

4444
1. Push the images to your container registry:
4545

4646
```shell
47-
docker push myregistry.example.com/nginx-kubernetes-gateway:edge
48-
docker push myregistry.example.com/nginx-kubernetes-gateway/nginx:edge
47+
docker push myregistry.example.com/nginx-kubernetes-gateway:0.6.0
48+
docker push myregistry.example.com/nginx-kubernetes-gateway/nginx:0.6.0
4949
```
5050

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

docs/guides/advanced-routing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ and `coffee` applications share the same Gateway.
3636
Begin by deploying the `coffee-v1` and `coffee-v2` applications:
3737

3838
```shell
39-
kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-kubernetes-gateway/main/examples/advanced-routing/coffee.yaml
39+
kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-kubernetes-gateway/v0.6.0/examples/advanced-routing/coffee.yaml
4040
```
4141

4242
### Deploy the Gateway API Resources for the Coffee Applications
@@ -166,7 +166,7 @@ have their own set of rules, but will still attach to the same Gateway listener
166166
### Deploy the Tea Applications
167167

168168
```shell
169-
kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-kubernetes-gateway/main/examples/advanced-routing/tea.yaml
169+
kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-kubernetes-gateway/v0.6.0/examples/advanced-routing/tea.yaml
170170
```
171171

172172
### Deploy the HTTPRoute for the Tea Services

docs/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ page.
2020
1. Clone the repo and change into the `nginx-kubernetes-gateway` directory:
2121

2222
```shell
23-
git clone https://github.com/nginxinc/nginx-kubernetes-gateway.git
23+
git clone https://github.com/nginxinc/nginx-kubernetes-gateway.git --branch v0.6.0
2424
cd nginx-kubernetes-gateway
2525
```
2626

0 commit comments

Comments
 (0)