Skip to content

Commit d8c6779

Browse files
authored
Release 1.2.0 (#1742)
This automated PR updates all the necessary files for 1.2.0 release.
1 parent e9df8b8 commit d8c6779

27 files changed

+156
-87
lines changed

Diff for: .github/CHANGELOG_TEMPLATE.md

+5
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,15 @@ UPGRADE:
2323

2424
-
2525

26+
KNOWN ISSUES:
27+
28+
-
29+
2630
COMPATIBILITY:
2731

2832
- The Gateway API version: ``
2933
- NGINX version: ``
34+
- NGINX Plus version: ``
3035
- Kubernetes version: ``
3136

3237
CONTAINER IMAGES:

Diff for: .github/workflows/release-pr.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ jobs:
5050
include: "deploy/helm-chart/*.yaml"
5151
regex: false
5252

53+
- name: Find and Replace
54+
uses: jacobtomlinson/gha-find-replace@a51bbcd94d000df9ca0fcb54ec8be69aad8374b0 # v3.0.2
55+
with:
56+
find: ${{ steps.vars.outputs.current_version }}
57+
replace: ${{ inputs.version }}
58+
include: "deploy/helm-chart/*.yaml"
59+
regex: false
60+
5361
- name: Find and Replace
5462
uses: jacobtomlinson/gha-find-replace@a51bbcd94d000df9ca0fcb54ec8be69aad8374b0 # v3.0.2
5563
with:
@@ -61,10 +69,11 @@ jobs:
6169
- name: Generate manifests and changelog
6270
run: |
6371
sed -i -e "s/v${{ steps.vars.outputs.current_version }}/v${{ inputs.version }}/g" README.md
72+
sed -i -e "s/\[${{ steps.vars.outputs.current_version }}\]/\[${{ inputs.version }}\]/g" README.md
6473
sed -i -e "s/VERSION = edge/VERSION = ${{ inputs.version }}/g" Makefile
6574
sed -i -e "s/VERSION = ${{ steps.vars.outputs.current_version }}/VERSION = ${{ inputs.version }}/g" conformance/Makefile
6675
sed -i -e "s/TAG = edge/TAG = ${{ inputs.version }}/g" **/Makefile
67-
sed -i "5r .github/CHANGELOG_TEMPLATE.md" CHANGELOG.md
76+
sed -i "6r .github/CHANGELOG_TEMPLATE.md" CHANGELOG.md
6877
sed -i -e "s/%%VERSION%%/${{ inputs.version }}/g" CHANGELOG.md
6978
make generate-manifests
7079
@@ -74,6 +83,7 @@ jobs:
7483
token: ${{ secrets.NGINX_PAT }}
7584
commit-message: Release ${{ inputs.version }}
7685
title: Release ${{ inputs.version }}
86+
draft: true
7787
branch: docs/release-${{ inputs.version }}
7888
author: nginx-bot <[email protected]>
7989
committer: nginx-bot <[email protected]>

Diff for: CHANGELOG.md

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

7+
## Release 1.2.0
8+
9+
*March 21, 2024*
10+
11+
FEATURES:
12+
13+
- [NGINX Plus](https://docs.nginx.com/nginx-gateway-fabric/overview/nginx-plus) can now be used as the data plane. [PR-1394](https://github.com/nginxinc/nginx-gateway-fabric/pull/1394)
14+
- Supports dynamic upstream reloads. [PR-1469](https://github.com/nginxinc/nginx-gateway-fabric/pull/1469)
15+
- Contains advanced Prometheus metrics. [PR-1394](https://github.com/nginxinc/nginx-gateway-fabric/pull/1394)
16+
- Includes the NGINX Plus monitoring dashboard. [PR-1488](https://github.com/nginxinc/nginx-gateway-fabric/pull/1488)
17+
- Support for [BackendTLSPolicy](https://gateway-api.sigs.k8s.io/api-types/backendtlspolicy/). [PR-1487](https://github.com/nginxinc/nginx-gateway-fabric/pull/1487)
18+
- Support for URLRewrite HTTPRoute Filter. [PR-1396](https://github.com/nginxinc/nginx-gateway-fabric/pull/1396)
19+
- NGINX Gateway Fabric will collect and report product telemetry to an F5 telemetry service every 24h. Read https://docs.nginx.com/nginx-gateway-fabric/overview/product-telemetry/ for more info, including what gets collected and how to opt out. [PR-1699](https://github.com/nginxinc/nginx-gateway-fabric/pull/1699)
20+
21+
ENHANCEMENTS:
22+
23+
- Stop processing resources that haven't changed. [PR-1422](https://github.com/nginxinc/nginx-gateway-fabric/pull/1422) Thanks to [Kai-Hsun Chen](https://github.com/kevin85421).
24+
- Maintain Gateway Status order. [PR-1324](https://github.com/nginxinc/nginx-gateway-fabric/pull/1324) Thanks to [Kai-Hsun Chen](https://github.com/kevin85421).
25+
26+
BUG FIXES:
27+
28+
- Prevent paths in HTTPRoute matches from conflicting with internal locations in NGINX. [PR-1445](https://github.com/nginxinc/nginx-gateway-fabric/pull/1445)
29+
30+
DOCUMENTATION:
31+
32+
- Sample Grafana dashboard added. [PR-1620](https://github.com/nginxinc/nginx-gateway-fabric/pull/1620)
33+
- Add a document about how to get support. [PR-1388](https://github.com/nginxinc/nginx-gateway-fabric/pull/1388)
34+
- [Documentation](https://docs.nginx.com/nginx-gateway-fabric/installation/ngf-images) on how to build or install the NGINX Plus image.
35+
36+
HELM CHART:
37+
38+
- The version of the Helm chart is now 1.2.0
39+
- nodeSelector is now configurable. [PR-1531](https://github.com/nginxinc/nginx-gateway-fabric/pull/1531) Thanks to [Leandro Martins](https://github.com/leandrocostam)
40+
41+
KNOWN ISSUES:
42+
43+
- Shutdown of non-leader Pods starts leader jobs. [1738](https://github.com/nginxinc/nginx-gateway-fabric/issues/1738)
44+
- Too many matching conditions can cause reload errors. [1107](https://github.com/nginxinc/nginx-gateway-fabric/issues/1107)
45+
- NGF Pod fails to become ready due to nginx reload failure. [1695](https://github.com/nginxinc/nginx-gateway-fabric/issues/1695)
46+
47+
COMPATIBILITY:
48+
49+
- The Gateway API version: `1.0.0`
50+
- NGINX version: `1.25.4`
51+
- NGINX Plus version: `R31`
52+
- Kubernetes version: `1.23+`
53+
54+
CONTAINER IMAGES:
55+
56+
- Control plane: `ghcr.io/nginxinc/nginx-gateway-fabric:1.2.0`
57+
- Data plane: `ghcr.io/nginxinc/nginx-gateway-fabric/nginx:1.2.0`
58+
- Data plane with NGINX Plus: `private-registry.nginx.com/nginx-gateway-fabric/nginx-plus:1.2.0`
59+
760
## Release 1.1.0
861

962
*December 14, 2023*

Diff for: 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 = 1.2.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 = $(CURDIR)/deploy/manifests

Diff for: README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can find the comprehensive NGINX Gateway Fabric user documentation on the [N
3434
We publish NGINX Gateway Fabric releases on GitHub. See
3535
our [releases page](https://github.com/nginxinc/nginx-gateway-fabric/releases).
3636

37-
The latest release is [1.1.0](https://github.com/nginxinc/nginx-gateway-fabric/releases/tag/v1.1.0).
37+
The latest release is [1.2.0](https://github.com/nginxinc/nginx-gateway-fabric/releases/tag/v1.2.0).
3838

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

4646
| Version | Description | Installation Manifests | Documentation and Examples |
4747
| -------------- | ---------------------------------------- | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
48-
| Latest release | For production use | [Manifests](https://github.com/nginxinc/nginx-gateway-fabric/tree/v1.1.0/deploy). | [Documentation](https://docs.nginx.com/nginx-gateway-fabric). [Examples](https://github.com/nginxinc/nginx-gateway-fabric/tree/v1.1.0/examples). |
48+
| Latest release | For production use | [Manifests](https://github.com/nginxinc/nginx-gateway-fabric/tree/v1.2.0/deploy). | [Documentation](https://docs.nginx.com/nginx-gateway-fabric). [Examples](https://github.com/nginxinc/nginx-gateway-fabric/tree/v1.2.0/examples). |
4949
| Edge | For experimental use and latest features | [Manifests](https://github.com/nginxinc/nginx-gateway-fabric/tree/main/deploy). | [Documentation](https://github.com/nginxinc/nginx-gateway-fabric/tree/main/site/content). [Examples](https://github.com/nginxinc/nginx-gateway-fabric/tree/main/examples). |
5050

5151
### Versioning
@@ -67,6 +67,7 @@ The following table lists the software versions NGINX Gateway Fabric supports.
6767
| NGINX Gateway Fabric | Gateway API | Kubernetes | NGINX OSS | NGINX Plus |
6868
| -------------------- | ----------- | ---------- | --------- | ---------- |
6969
| Edge | 1.0.0 | 1.23+ | 1.25.4 | R31 |
70+
| 1.2.0 | 1.0.0 | 1.23+ | 1.25.4 | R31 |
7071
| 1.1.0 | 1.0.0 | 1.23+ | 1.25.3 | n/a |
7172
| 1.0.0 | 0.8.1 | 1.23+ | 1.25.2 | n/a |
7273
| 0.6.0 | 0.8.0 | 1.23+ | 1.25.2 | n/a |

Diff for: conformance/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
TAG = edge
1+
TAG = 1.2.0
22
VERSION = 1.1.0 # NGF version
33
PREFIX = nginx-gateway-fabric
44
NGINX_PREFIX = $(PREFIX)/nginx

Diff for: conformance/provisioner/provisioner.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ spec:
6868
spec:
6969
serviceAccountName: nginx-gateway-provisioner
7070
containers:
71-
- image: ghcr.io/nginxinc/nginx-gateway-fabric:edge
71+
- image: ghcr.io/nginxinc/nginx-gateway-fabric:1.2.0
7272
imagePullPolicy: Always
7373
name: nginx-gateway-provisioner
7474
securityContext:

Diff for: 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: "1.2.0"
1212
spec:
1313
replicas: 1
1414
selector:
@@ -45,8 +45,8 @@ spec:
4545
valueFrom:
4646
fieldRef:
4747
fieldPath: metadata.name
48-
image: ghcr.io/nginxinc/nginx-gateway-fabric:edge
49-
imagePullPolicy: Always
48+
image: ghcr.io/nginxinc/nginx-gateway-fabric:1.2.0
49+
imagePullPolicy: IfNotPresent
5050
name: nginx-gateway
5151
ports:
5252
- name: health
@@ -74,8 +74,8 @@ spec:
7474
mountPath: /etc/nginx/secrets
7575
- name: nginx-run
7676
mountPath: /var/run/nginx
77-
- image: ghcr.io/nginxinc/nginx-gateway-fabric/nginx:edge
78-
imagePullPolicy: Always
77+
- image: ghcr.io/nginxinc/nginx-gateway-fabric/nginx:1.2.0
78+
imagePullPolicy: IfNotPresent
7979
name: nginx
8080
ports:
8181
- containerPort: 80

Diff for: deploy/helm-chart/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: nginx-gateway-fabric
33
description: NGINX Gateway Fabric
44
type: application
5-
version: 1.1.0
6-
appVersion: "edge"
5+
version: 1.2.0
6+
appVersion: "1.2.0"
77
home: https://github.com/nginxinc/nginx-gateway-fabric
88
icon: https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/main/deploy/helm-chart/chart-icon.png
99
sources:

Diff for: deploy/helm-chart/values.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ nginxGateway:
3838
image:
3939
## The NGINX Gateway Fabric image to use
4040
repository: ghcr.io/nginxinc/nginx-gateway-fabric
41-
tag: edge
42-
pullPolicy: Always
41+
tag: 1.2.0
42+
pullPolicy: IfNotPresent
4343

4444
securityContext:
4545
## Some environments may need this set to true in order for the control plane to successfully reload NGINX.
@@ -64,8 +64,8 @@ nginx:
6464
## The NGINX image to use
6565
image:
6666
repository: ghcr.io/nginxinc/nginx-gateway-fabric/nginx
67-
tag: edge
68-
pullPolicy: Always
67+
tag: 1.2.0
68+
pullPolicy: IfNotPresent
6969

7070
## Is NGINX Plus image being used
7171
plus: false

Diff for: deploy/manifests/nginx-gateway-experimental.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: "1.2.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: "1.2.0"
2828
rules:
2929
- apiGroups:
3030
- ""
@@ -127,7 +127,7 @@ metadata:
127127
labels:
128128
app.kubernetes.io/name: nginx-gateway
129129
app.kubernetes.io/instance: nginx-gateway
130-
app.kubernetes.io/version: "edge"
130+
app.kubernetes.io/version: "1.2.0"
131131
roleRef:
132132
apiGroup: rbac.authorization.k8s.io
133133
kind: ClusterRole
@@ -146,7 +146,7 @@ metadata:
146146
labels:
147147
app.kubernetes.io/name: nginx-gateway
148148
app.kubernetes.io/instance: nginx-gateway
149-
app.kubernetes.io/version: "edge"
149+
app.kubernetes.io/version: "1.2.0"
150150
spec:
151151
replicas: 1
152152
selector:
@@ -186,8 +186,8 @@ spec:
186186
valueFrom:
187187
fieldRef:
188188
fieldPath: metadata.name
189-
image: ghcr.io/nginxinc/nginx-gateway-fabric:edge
190-
imagePullPolicy: Always
189+
image: ghcr.io/nginxinc/nginx-gateway-fabric:1.2.0
190+
imagePullPolicy: IfNotPresent
191191
name: nginx-gateway
192192
ports:
193193
- name: metrics
@@ -217,8 +217,8 @@ spec:
217217
mountPath: /etc/nginx/secrets
218218
- name: nginx-run
219219
mountPath: /var/run/nginx
220-
- image: ghcr.io/nginxinc/nginx-gateway-fabric/nginx:edge
221-
imagePullPolicy: Always
220+
- image: ghcr.io/nginxinc/nginx-gateway-fabric/nginx:1.2.0
221+
imagePullPolicy: IfNotPresent
222222
name: nginx
223223
ports:
224224
- containerPort: 80
@@ -271,7 +271,7 @@ metadata:
271271
labels:
272272
app.kubernetes.io/name: nginx-gateway
273273
app.kubernetes.io/instance: nginx-gateway
274-
app.kubernetes.io/version: "edge"
274+
app.kubernetes.io/version: "1.2.0"
275275
spec:
276276
controllerName: gateway.nginx.org/nginx-gateway-controller
277277
---
@@ -284,7 +284,7 @@ metadata:
284284
labels:
285285
app.kubernetes.io/name: nginx-gateway
286286
app.kubernetes.io/instance: nginx-gateway
287-
app.kubernetes.io/version: "edge"
287+
app.kubernetes.io/version: "1.2.0"
288288
spec:
289289
logging:
290290
level: info

Diff for: 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: "1.2.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: "1.2.0"
2828
rules:
2929
- apiGroups:
3030
- ""
@@ -124,7 +124,7 @@ metadata:
124124
labels:
125125
app.kubernetes.io/name: nginx-gateway
126126
app.kubernetes.io/instance: nginx-gateway
127-
app.kubernetes.io/version: "edge"
127+
app.kubernetes.io/version: "1.2.0"
128128
roleRef:
129129
apiGroup: rbac.authorization.k8s.io
130130
kind: ClusterRole
@@ -143,7 +143,7 @@ metadata:
143143
labels:
144144
app.kubernetes.io/name: nginx-gateway
145145
app.kubernetes.io/instance: nginx-gateway
146-
app.kubernetes.io/version: "edge"
146+
app.kubernetes.io/version: "1.2.0"
147147
spec:
148148
replicas: 1
149149
selector:
@@ -182,8 +182,8 @@ spec:
182182
valueFrom:
183183
fieldRef:
184184
fieldPath: metadata.name
185-
image: ghcr.io/nginxinc/nginx-gateway-fabric:edge
186-
imagePullPolicy: Always
185+
image: ghcr.io/nginxinc/nginx-gateway-fabric:1.2.0
186+
imagePullPolicy: IfNotPresent
187187
name: nginx-gateway
188188
ports:
189189
- name: metrics
@@ -213,8 +213,8 @@ spec:
213213
mountPath: /etc/nginx/secrets
214214
- name: nginx-run
215215
mountPath: /var/run/nginx
216-
- image: ghcr.io/nginxinc/nginx-gateway-fabric/nginx:edge
217-
imagePullPolicy: Always
216+
- image: ghcr.io/nginxinc/nginx-gateway-fabric/nginx:1.2.0
217+
imagePullPolicy: IfNotPresent
218218
name: nginx
219219
ports:
220220
- containerPort: 80
@@ -267,7 +267,7 @@ metadata:
267267
labels:
268268
app.kubernetes.io/name: nginx-gateway
269269
app.kubernetes.io/instance: nginx-gateway
270-
app.kubernetes.io/version: "edge"
270+
app.kubernetes.io/version: "1.2.0"
271271
spec:
272272
controllerName: gateway.nginx.org/nginx-gateway-controller
273273
---
@@ -280,7 +280,7 @@ metadata:
280280
labels:
281281
app.kubernetes.io/name: nginx-gateway
282282
app.kubernetes.io/instance: nginx-gateway
283-
app.kubernetes.io/version: "edge"
283+
app.kubernetes.io/version: "1.2.0"
284284
spec:
285285
logging:
286286
level: info

0 commit comments

Comments
 (0)