Skip to content

Commit 1d27446

Browse files
committed
Release 1.5.0
1 parent 1f60f9e commit 1d27446

File tree

32 files changed

+123
-4074
lines changed

32 files changed

+123
-4074
lines changed

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,56 @@ 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.5.0
8+
9+
* Add guide for TLS Route in site by @sarthyparty in https://github.com/nginxinc/nginx-gateway-fabric/pull/2363
10+
* Adds configuration to retain client IP information by @salonichf5 in https://github.com/nginxinc/nginx-gateway-fabric/pull/2284
11+
* Change validation in Duration type in CRDs and NGF by @bjee19 in https://github.com/nginxinc/nginx-gateway-fabric/pull/2525
12+
* Use correct indentation in lifecyce examples by @defrank in https://github.com/nginxinc/nginx-gateway-fabric/pull/2588
13+
* Add Helm schema by @lucacome in https://github.com/nginxinc/nginx-gateway-fabric/pull/2492
14+
* Add SnippetsFilter API by @sjberman in https://github.com/nginxinc/nginx-gateway-fabric/pull/2667
15+
* Only set stream status zone if hostname exists by @sjberman in https://github.com/nginxinc/nginx-gateway-fabric/pull/2684
16+
* Add loadBalancerSourceRanges to helm parameters by @salonichf5 in https://github.com/nginxinc/nginx-gateway-fabric/pull/2773
17+
18+
%%DATE%%
19+
20+
FEATURES:
21+
22+
-
23+
24+
BUG FIXES:
25+
26+
-
27+
28+
DOCUMENTATION:
29+
30+
-
31+
32+
HELM CHART:
33+
34+
- The version of the Helm chart is now 1.5.0
35+
-
36+
37+
UPGRADE:
38+
39+
-
40+
41+
KNOWN ISSUES:
42+
43+
-
44+
45+
COMPATIBILITY:
46+
47+
- Gateway API version: ``
48+
- NGINX version: ``
49+
- NGINX Plus version: ``
50+
- Kubernetes version: ``
51+
52+
CONTAINER IMAGES:
53+
54+
- Control plane: `ghcr.io/nginxinc/nginx-gateway-fabric:1.5.0`
55+
- Data plane: `ghcr.io/nginxinc/nginx-gateway-fabric/nginx:1.5.0`
56+
- Data plane with NGINX Plus: `private-registry.nginx.com/nginx-gateway-fabric/nginx-plus:1.5.0`
757
## Release 1.4.0
858

959
_August 20, 2024_

Makefile

Lines changed: 1 addition & 1 deletion
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.5.0
33
SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
44
CHART_DIR = $(SELF_DIR)charts/nginx-gateway-fabric
55
NGINX_CONF_DIR = internal/mode/static/nginx/conf

README.md

Lines changed: 2 additions & 2 deletions
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.4.0](https://github.com/nginxinc/nginx-gateway-fabric/releases/tag/v1.4.0).
37+
The latest release is [1.5.0](https://github.com/nginxinc/nginx-gateway-fabric/releases/tag/v1.5.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.4.0/deploy). | [Documentation](https://docs.nginx.com/nginx-gateway-fabric). [Examples](https://github.com/nginxinc/nginx-gateway-fabric/tree/v1.4.0/examples). |
48+
| Latest release | For production use | [Manifests](https://github.com/nginxinc/nginx-gateway-fabric/tree/v1.5.0/deploy). | [Documentation](https://docs.nginx.com/nginx-gateway-fabric). [Examples](https://github.com/nginxinc/nginx-gateway-fabric/tree/v1.5.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

charts/nginx-gateway-fabric/Chart.yaml

Lines changed: 2 additions & 2 deletions
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.4.0
6-
appVersion: "edge"
5+
version: 1.5.0
6+
appVersion: "1.5.0"
77
kubeVersion: ">= 1.25.0-0"
88
home: https://github.com/nginxinc/nginx-gateway-fabric
99
icon: https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/main/charts/nginx-gateway-fabric/chart-icon.png

charts/nginx-gateway-fabric/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# NGINX Gateway Fabric Helm Chart
33

4-
![Version: 1.4.0](https://img.shields.io/badge/Version-1.4.0-informational?style=flat-square) ![AppVersion: edge](https://img.shields.io/badge/AppVersion-edge-informational?style=flat-square)
4+
![Version: 1.5.0](https://img.shields.io/badge/Version-1.5.0-informational?style=flat-square) ![AppVersion: 1.5.0](https://img.shields.io/badge/AppVersion-1.5.0-informational?style=flat-square)
55

66
- [NGINX Gateway Fabric Helm Chart](#nginx-gateway-fabric-helm-chart)
77
- [Introduction](#introduction)
@@ -263,9 +263,9 @@ The following table lists the configurable parameters of the NGINX Gateway Fabri
263263
| `nginx.config` | The configuration for the data plane that is contained in the NginxProxy resource. | object | `{}` |
264264
| `nginx.debug` | Enable debugging for NGINX. Uses the nginx-debug binary. The NGINX error log level should be set to debug in the NginxProxy resource. | bool | `false` |
265265
| `nginx.extraVolumeMounts` | extraVolumeMounts are the additional volume mounts for the nginx container. | list | `[]` |
266-
| `nginx.image.pullPolicy` | | string | `"Always"` |
266+
| `nginx.image.pullPolicy` | | string | `"IfNotPresent"` |
267267
| `nginx.image.repository` | The NGINX image to use. | string | `"ghcr.io/nginxinc/nginx-gateway-fabric/nginx"` |
268-
| `nginx.image.tag` | | string | `"edge"` |
268+
| `nginx.image.tag` | | string | `"1.5.0"` |
269269
| `nginx.lifecycle` | The lifecycle of the nginx container. | object | `{}` |
270270
| `nginx.plus` | Is NGINX Plus image being used | bool | `false` |
271271
| `nginx.usage.clusterName` | The display name of the Kubernetes cluster in the NGINX Plus usage reporting server. | string | `""` |
@@ -279,9 +279,9 @@ The following table lists the configurable parameters of the NGINX Gateway Fabri
279279
| `nginxGateway.gatewayClassName` | The name of the GatewayClass that will be created as part of this release. Every NGINX Gateway Fabric must have a unique corresponding GatewayClass resource. NGINX Gateway Fabric only processes resources that belong to its class - i.e. have the "gatewayClassName" field resource equal to the class. | string | `"nginx"` |
280280
| `nginxGateway.gatewayControllerName` | The name of the Gateway controller. The controller name must be of the form: DOMAIN/PATH. The controller's domain is gateway.nginx.org. | string | `"gateway.nginx.org/nginx-gateway-controller"` |
281281
| `nginxGateway.gwAPIExperimentalFeatures.enable` | Enable the experimental features of Gateway API which are supported by NGINX Gateway Fabric. Requires the Gateway APIs installed from the experimental channel. | bool | `false` |
282-
| `nginxGateway.image.pullPolicy` | | string | `"Always"` |
282+
| `nginxGateway.image.pullPolicy` | | string | `"IfNotPresent"` |
283283
| `nginxGateway.image.repository` | The NGINX Gateway Fabric image to use | string | `"ghcr.io/nginxinc/nginx-gateway-fabric"` |
284-
| `nginxGateway.image.tag` | | string | `"edge"` |
284+
| `nginxGateway.image.tag` | | string | `"1.5.0"` |
285285
| `nginxGateway.kind` | The kind of the NGINX Gateway Fabric installation - currently, only deployment is supported. | string | `"deployment"` |
286286
| `nginxGateway.leaderElection.enable` | Enable leader election. Leader election is used to avoid multiple replicas of the NGINX Gateway Fabric reporting the status of the Gateway API resources. If not enabled, all replicas of NGINX Gateway Fabric will update the statuses of the Gateway API resources. | bool | `true` |
287287
| `nginxGateway.leaderElection.lockName` | The name of the leader election lock. A Lease object with this name will be created in the same Namespace as the controller. | string | Autogenerated if not set or set to "". |

charts/nginx-gateway-fabric/values.schema.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@
219219
"image": {
220220
"properties": {
221221
"pullPolicy": {
222-
"default": "Always",
222+
"default": "IfNotPresent",
223223
"enum": [
224-
"Always",
224+
"IfNotPresent",
225225
"IfNotPresent",
226226
"Never"
227227
],
@@ -236,7 +236,7 @@
236236
"type": "string"
237237
},
238238
"tag": {
239-
"default": "edge",
239+
"default": "1.5.0",
240240
"required": [],
241241
"title": "tag",
242242
"type": "string"
@@ -380,9 +380,9 @@
380380
"image": {
381381
"properties": {
382382
"pullPolicy": {
383-
"default": "Always",
383+
"default": "IfNotPresent",
384384
"enum": [
385-
"Always",
385+
"IfNotPresent",
386386
"IfNotPresent",
387387
"Never"
388388
],
@@ -397,7 +397,7 @@
397397
"type": "string"
398398
},
399399
"tag": {
400-
"default": "edge",
400+
"default": "1.5.0",
401401
"required": [],
402402
"title": "tag",
403403
"type": "string"

charts/nginx-gateway-fabric/values.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ nginxGateway:
8282
image:
8383
# -- The NGINX Gateway Fabric image to use
8484
repository: ghcr.io/nginxinc/nginx-gateway-fabric
85-
tag: edge
85+
tag: 1.5.0
8686
# @schema
8787
# enum:
88-
# - Always
88+
# - IfNotPresent
8989
# - IfNotPresent
9090
# - Never
9191
# @schema
92-
pullPolicy: Always
92+
pullPolicy: IfNotPresent
9393

9494
securityContext:
9595
# -- Some environments may need this set to true in order for the control plane to successfully reload NGINX.
@@ -122,14 +122,14 @@ nginx:
122122
image:
123123
# -- The NGINX image to use.
124124
repository: ghcr.io/nginxinc/nginx-gateway-fabric/nginx
125-
tag: edge
125+
tag: 1.5.0
126126
# @schema
127127
# enum:
128-
# - Always
128+
# - IfNotPresent
129129
# - IfNotPresent
130130
# - Never
131131
# @schema
132-
pullPolicy: Always
132+
pullPolicy: IfNotPresent
133133

134134
# -- Is NGINX Plus image being used
135135
plus: false

config/tests/static-deployment.yaml

Lines changed: 0 additions & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -1,169 +0,0 @@
1-
---
2-
# Source: nginx-gateway-fabric/templates/deployment.yaml
3-
apiVersion: apps/v1
4-
kind: Deployment
5-
metadata:
6-
name: nginx-gateway
7-
namespace: nginx-gateway
8-
labels:
9-
app.kubernetes.io/name: nginx-gateway
10-
app.kubernetes.io/instance: nginx-gateway
11-
app.kubernetes.io/version: "edge"
12-
spec:
13-
replicas: 1
14-
selector:
15-
matchLabels:
16-
app.kubernetes.io/name: nginx-gateway
17-
app.kubernetes.io/instance: nginx-gateway
18-
template:
19-
metadata:
20-
labels:
21-
app.kubernetes.io/name: nginx-gateway
22-
app.kubernetes.io/instance: nginx-gateway
23-
spec:
24-
initContainers:
25-
- name: copy-nginx-config
26-
image: ghcr.io/nginxinc/nginx-gateway-fabric:edge
27-
imagePullPolicy: Always
28-
command:
29-
- /usr/bin/gateway
30-
- copy
31-
- --source
32-
- /includes/main.conf
33-
- --destination
34-
- /etc/nginx/main-includes/main.conf
35-
securityContext:
36-
seccompProfile:
37-
type: RuntimeDefault
38-
capabilities:
39-
add:
40-
- KILL # Set because the binary has CAP_KILL for the main controller process. Not used by init.
41-
drop:
42-
- ALL
43-
readOnlyRootFilesystem: true
44-
runAsUser: 102
45-
runAsGroup: 1001
46-
volumeMounts:
47-
- name: nginx-includes-configmap
48-
mountPath: /includes
49-
- name: nginx-main-includes
50-
mountPath: /etc/nginx/main-includes
51-
containers:
52-
- args:
53-
- static-mode
54-
- --gateway-ctlr-name=gateway.nginx.org/nginx-gateway-controller
55-
- --gatewayclass=nginx
56-
- --config=nginx-gateway-config
57-
- --service=nginx-gateway
58-
- --metrics-disable
59-
- --health-port=8081
60-
- --leader-election-lock-name=nginx-gateway-leader-election
61-
- --product-telemetry-disable
62-
env:
63-
- name: POD_IP
64-
valueFrom:
65-
fieldRef:
66-
fieldPath: status.podIP
67-
- name: POD_NAMESPACE
68-
valueFrom:
69-
fieldRef:
70-
fieldPath: metadata.namespace
71-
- name: POD_NAME
72-
valueFrom:
73-
fieldRef:
74-
fieldPath: metadata.name
75-
image: ghcr.io/nginxinc/nginx-gateway-fabric:edge
76-
imagePullPolicy: Always
77-
name: nginx-gateway
78-
ports:
79-
- name: health
80-
containerPort: 8081
81-
readinessProbe:
82-
httpGet:
83-
path: /readyz
84-
port: health
85-
initialDelaySeconds: 3
86-
periodSeconds: 1
87-
securityContext:
88-
seccompProfile:
89-
type: RuntimeDefault
90-
allowPrivilegeEscalation: false
91-
capabilities:
92-
add:
93-
- KILL
94-
drop:
95-
- ALL
96-
readOnlyRootFilesystem: true
97-
runAsUser: 102
98-
runAsGroup: 1001
99-
volumeMounts:
100-
- name: nginx-conf
101-
mountPath: /etc/nginx/conf.d
102-
- name: nginx-stream-conf
103-
mountPath: /etc/nginx/stream-conf.d
104-
- name: nginx-main-includes
105-
mountPath: /etc/nginx/main-includes
106-
- name: nginx-secrets
107-
mountPath: /etc/nginx/secrets
108-
- name: nginx-run
109-
mountPath: /var/run/nginx
110-
- name: nginx-includes
111-
mountPath: /etc/nginx/includes
112-
- image: ghcr.io/nginxinc/nginx-gateway-fabric/nginx:edge
113-
imagePullPolicy: Always
114-
name: nginx
115-
ports:
116-
- containerPort: 80
117-
name: http
118-
- containerPort: 443
119-
name: https
120-
securityContext:
121-
seccompProfile:
122-
type: RuntimeDefault
123-
capabilities:
124-
add:
125-
- NET_BIND_SERVICE
126-
drop:
127-
- ALL
128-
readOnlyRootFilesystem: true
129-
runAsUser: 101
130-
runAsGroup: 1001
131-
volumeMounts:
132-
- name: nginx-conf
133-
mountPath: /etc/nginx/conf.d
134-
- name: nginx-stream-conf
135-
mountPath: /etc/nginx/stream-conf.d
136-
- name: nginx-main-includes
137-
mountPath: /etc/nginx/main-includes
138-
- name: nginx-secrets
139-
mountPath: /etc/nginx/secrets
140-
- name: nginx-run
141-
mountPath: /var/run/nginx
142-
- name: nginx-cache
143-
mountPath: /var/cache/nginx
144-
- name: nginx-includes
145-
mountPath: /etc/nginx/includes
146-
terminationGracePeriodSeconds: 30
147-
serviceAccountName: nginx-gateway
148-
shareProcessNamespace: true
149-
securityContext:
150-
fsGroup: 1001
151-
runAsNonRoot: true
152-
volumes:
153-
- name: nginx-conf
154-
emptyDir: {}
155-
- name: nginx-stream-conf
156-
emptyDir: {}
157-
- name: nginx-main-includes
158-
emptyDir: {}
159-
- name: nginx-secrets
160-
emptyDir: {}
161-
- name: nginx-run
162-
emptyDir: {}
163-
- name: nginx-cache
164-
emptyDir: {}
165-
- name: nginx-includes
166-
emptyDir: {}
167-
- name: nginx-includes-configmap
168-
configMap:
169-
name: nginx-includes

0 commit comments

Comments
 (0)