Skip to content

Commit da8e223

Browse files
committed
Release Candidate 1 for 1.7.0
1 parent 71a750a commit da8e223

26 files changed

+174
-72
lines changed

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,55 @@
11
# Changelog
22

3+
### 1.7.0 - Release Candidate 1
4+
5+
OVERVIEW:
6+
7+
Release 1.7.0-rc1 includes:
8+
* Support for TCP, UDP, and TLS Passthrough load balancing with the new configuration resources: TransportServer and GlobalConfiguration. The resources allow users to deliver complex, non-HTTP-based applications from Kubernetes using the NGINX Ingress Controller.
9+
* Support for error pages in VirtualServer and VirtualServerRoute resources. A user can now specify custom error responses for errors returned by backend applications or generated by NGINX, such as a 502 response.
10+
* Improved validation of VirtualServer and VirtualServerRoute resources. kubectl and the Kubernetes API server can now detect violations of the structure of VirtualServer/VirtualServerRoute resources and return an error.
11+
12+
The release announcement blog post includes an overview of each feature. See [link-to-be-added](#).
13+
14+
You will find the complete changelog for release 1.7.0-rc1, including bug fixes, improvements, and changes below.
15+
16+
FEATURES FOR VIRTUALSERVER AND VIRTUALSERVERROUTE RESOURCES:
17+
* [868](https://github.com/nginxinc/kubernetes-ingress/pull/868): Add OpenAPI CRD schema validation.
18+
* [847](https://github.com/nginxinc/kubernetes-ingress/pull/847): Add support for error pages for VS/VSR.
19+
20+
FEATURES:
21+
* [902](https://github.com/nginxinc/kubernetes-ingress/pull/902): Add TransportServer and GlobalConfiguration Resources.
22+
* [894](https://github.com/nginxinc/kubernetes-ingress/pull/894): Add Dockerfile for NGINX Open Source for Openshift.
23+
* [857](https://github.com/nginxinc/kubernetes-ingress/pull/857): Add Openshift Dockerfile for NGINX Plus.
24+
* [852](https://github.com/nginxinc/kubernetes-ingress/pull/852): Add default-server-access-log-off to configmap.
25+
* [845](https://github.com/nginxinc/kubernetes-ingress/pull/845): Add log-format-escaping and stream-log-format-escaping configmap keys. Thanks to [Alexey Maslov](https://github.com/alxmsl).
26+
* [827](https://github.com/nginxinc/kubernetes-ingress/pull/827): Add ingress class label to all Prometheus metrics.
27+
28+
29+
IMPROVEMENTS:
30+
* [850](https://github.com/nginxinc/kubernetes-ingress/pull/850): Extend redirect URI validation with protocol check in VS/VSR.
31+
* [832](https://github.com/nginxinc/kubernetes-ingress/pull/832): Update the examples to run the `nginxdemos/nginx-hello:plain-text` image, that doesn't require root user.
32+
* [825](https://github.com/nginxinc/kubernetes-ingress/pull/825): Add multi-stage docker builds.
33+
34+
BUGFIXES:
35+
* [828](https://github.com/nginxinc/kubernetes-ingress/pull/828): Fix error messages for actions of the type return.
36+
37+
HELM CHART:
38+
* The version of the helm chart is now 0.5.0-rc1.
39+
* Add new parameters to the Chart: `controller.volumes`, `controller.volumeMounts`, `controller.priorityClassName`. Added in [878](https://github.com/nginxinc/kubernetes-ingress/pull/878), [807](https://github.com/nginxinc/kubernetes-ingress/pull/807) thanks to [Greg Snow](https://github.com/gsnegovskiy).
40+
41+
CHANGES:
42+
* Update NGINX version to 1.17.9.
43+
* [854](https://github.com/nginxinc/kubernetes-ingress/pull/854): Update the Debian base images for NGINX Plus to `debian:buster-slim`.
44+
* [852](https://github.com/nginxinc/kubernetes-ingress/pull/852): Add default-server-access-log-off to configmap. The access logs for the default server are now enabled by default.
45+
* [847](https://github.com/nginxinc/kubernetes-ingress/pull/847): Add support for error pages for VS/VSR. The PR affects how the Ingress Controller generates configuration for VirtualServer and VirtualServerRoutes. See [this comment](https://github.com/nginxinc/kubernetes-ingress/pull/847) for more details.
46+
* [827](https://github.com/nginxinc/kubernetes-ingress/pull/827): Add ingress class label to all Prometheus metrics. Every Prometheus metric exposed by the Ingress Controller now includes the label `class` with the value of the Ingress Controller class (by default `nginx`),
47+
* [825](https://github.com/nginxinc/kubernetes-ingress/pull/825): Add multi-stage docker builds. When building the Ingress Controller image in Docker, we now use a multi-stage docker build.
48+
49+
UPGRADE:
50+
* For this preview release, no DockerHub images are provided. Please build your own image using the 1.7.0-rc1 source code.
51+
* For Helm, use version 0.5.0-rc1 of the chart. Note: this preview version is not available from the stable repo helm.nginx.com/stable, but only from the source files in the `deployments/helm-chart` folder.
52+
353
### 1.6.3
454

555
CHANGES:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
all: push
22

3-
VERSION = edge
3+
VERSION = 1.7.0-rc1
44
TAG = $(VERSION)
55
PREFIX = nginx/nginx-ingress
66

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Read [this doc](docs/nginx-plus.md) to learn more about NGINX Ingress controller
4949

5050
We publish Ingress controller releases on GitHub. See our [releases page](https://github.com/nginxinc/kubernetes-ingress/releases).
5151

52-
The latest stable release is [1.6.3](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.6.3). For production use, we recommend that you choose the latest stable release. As an alternative, you can choose the *edge* version built from the [latest commit](https://github.com/nginxinc/kubernetes-ingress/commits/master) from the master branch. The edge version is useful for experimenting with new features that are not yet published in a stable release.
52+
The latest stable release is [1.7.0-rc1](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.7.0-rc1). For production use, we recommend that you choose the latest stable release. As an alternative, you can choose the *edge* version built from the [latest commit](https://github.com/nginxinc/kubernetes-ingress/commits/master) from the master branch. The edge version is useful for experimenting with new features that are not yet published in a stable release.
5353

5454
To use the Ingress controller, you need to have access to:
5555
* An Ingress controller image.
@@ -62,7 +62,7 @@ The table below summarizes the options regarding the images, manifests, helm cha
6262

6363
| Version | Description | Image for NGINX | Image for NGINX Plus | Installation Manifests and Helm Chart | Documentation and Examples |
6464
| ------- | ----------- | --------------- | -------------------- | ---------------------------------------| -------------------------- |
65-
| Latest stable release | For production use | `nginx/nginx-ingress:1.6.3`, `nginx/nginx-ingress:1.6.3-alpine` from [DockerHub](https://hub.docker.com/r/nginx/nginx-ingress/) or [build your own image](https://docs.nginx.com/nginx-ingress-controller/installation/building-ingress-controller-image/). | [Build your own image](https://docs.nginx.com/nginx-ingress-controller/installation/building-ingress-controller-image/). | [Manifests](https://github.com/nginxinc/kubernetes-ingress/tree/v1.6.3/deployments). [Helm chart](https://github.com/nginxinc/kubernetes-ingress/tree/v1.6.3/deployments/helm-chart). | [Documentation](https://docs.nginx.com/nginx-ingress-controller/). [Examples](https://docs.nginx.com/nginx-ingress-controller/configuration/configuration-examples/). |
65+
| Latest stable release | For production use | `nginx/nginx-ingress:1.7.0-rc1`, `nginx/nginx-ingress:1.7.0-rc1-alpine` from [DockerHub](https://hub.docker.com/r/nginx/nginx-ingress/) or [build your own image](https://docs.nginx.com/nginx-ingress-controller/installation/building-ingress-controller-image/). | [Build your own image](https://docs.nginx.com/nginx-ingress-controller/installation/building-ingress-controller-image/). | [Manifests](https://github.com/nginxinc/kubernetes-ingress/tree/v1.7.0-rc1/deployments). [Helm chart](https://github.com/nginxinc/kubernetes-ingress/tree/v1.7.0-rc1/deployments/helm-chart). | [Documentation](https://docs.nginx.com/nginx-ingress-controller/). [Examples](https://docs.nginx.com/nginx-ingress-controller/configuration/configuration-examples/). |
6666
| Edge | For testing and experimenting | `nginx/nginx-ingress:edge`, `nginx/nginx-ingress:edge-alpine` from [DockerHub](https://hub.docker.com/r/nginx/nginx-ingress/) or [build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/master/docs-web/installation/building-ingress-controller-image.md). | [Build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/master/docs-web/installation/building-ingress-controller-image.md). | [Manifests](https://github.com/nginxinc/kubernetes-ingress/tree/master/deployments). [Helm chart](https://github.com/nginxinc/kubernetes-ingress/tree/master/deployments/helm-chart). | [Documentation](https://github.com/nginxinc/kubernetes-ingress/tree/master/docs-web). [Examples](https://github.com/nginxinc/kubernetes-ingress/tree/master/examples). |
6767

6868
## Contacts

deployments/daemon-set/nginx-ingress.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ spec:
1717
spec:
1818
serviceAccountName: nginx-ingress
1919
containers:
20-
- image: nginx/nginx-ingress:edge
21-
imagePullPolicy: Always
20+
- image: nginx/nginx-ingress:1.7.0-rc1
2221
name: nginx-ingress
2322
ports:
2423
- name: http

deployments/daemon-set/nginx-plus-ingress.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ spec:
1717
spec:
1818
serviceAccountName: nginx-ingress
1919
containers:
20-
- image: nginx-plus-ingress:edge
21-
imagePullPolicy: Always
20+
- image: nginx-plus-ingress:1.7.0-rc1
2221
name: nginx-plus-ingress
2322
ports:
2423
- name: http

deployments/deployment/nginx-ingress.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ spec:
1818
spec:
1919
serviceAccountName: nginx-ingress
2020
containers:
21-
- image: nginx/nginx-ingress:edge
22-
imagePullPolicy: Always
21+
- image: nginx/nginx-ingress:1.7.0-rc1
2322
name: nginx-ingress
2423
ports:
2524
- name: http

deployments/deployment/nginx-plus-ingress.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ spec:
1818
spec:
1919
serviceAccountName: nginx-ingress
2020
containers:
21-
- image: nginx-plus-ingress:edge
22-
imagePullPolicy: Always
21+
- image: nginx-plus-ingress:1.7.0-rc1
2322
name: nginx-plus-ingress
2423
ports:
2524
- name: http

deployments/helm-chart/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: nginx-ingress
2-
version: edge
3-
appVersion: edge
2+
version: 0.5.0-rc1
3+
appVersion: 1.7.0-rc1
44
apiVersion: v1
55
description: NGINX Ingress Controller
6-
icon: https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/master/deployments/helm-chart/chart-icon.png
6+
icon: https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/v1.7.0-rc1/deployments/helm-chart/chart-icon.png
77
sources:
8-
- https://github.com/nginxinc/kubernetes-ingress/tree/master/deployments/helm-chart
8+
- https://github.com/nginxinc/kubernetes-ingress/tree/v1.7.0-rc1/deployments/helm-chart
99
keywords:
1010
- ingress
1111
- nginx

deployments/helm-chart/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This chart deploys the NGINX Ingress controller in your Kubernetes cluster.
1919

2020
1. Add NGINX Helm repository:
2121
```
22-
$ helm repo add nginx-edge https://helm.nginx.com/edge
22+
$ helm repo add nginx-stable https://helm.nginx.com/stable
2323
$ helm repo update
2424
```
2525
@@ -29,24 +29,24 @@ This chart deploys the NGINX Ingress controller in your Kubernetes cluster.
2929
3030
For NGINX:
3131
```console
32-
$ helm install my-release nginx-edge/nginx-ingress
32+
$ helm install my-release nginx-stable/nginx-ingress
3333
```
3434
3535
For NGINX Plus: (assuming you have pushed the Ingress controller image `nginx-plus-ingress` to your private registry `myregistry.example.com`)
3636
```console
37-
$ helm install my-release nginx-edge/nginx-ingress --set controller.image.repository=myregistry.example.com/nginx-plus-ingress --set controller.nginxplus=true
37+
$ helm install my-release nginx-stable/nginx-ingress --set controller.image.repository=myregistry.example.com/nginx-plus-ingress --set controller.nginxplus=true
3838
```
3939
4040
* Using Helm 2.x client:
4141
4242
For NGINX:
4343
```console
44-
$ helm install --name my-release nginx-edge/nginx-ingress
44+
$ helm install --name my-release nginx-stable/nginx-ingress
4545
```
4646
4747
For NGINX Plus: (assuming you have pushed the Ingress controller image `nginx-plus-ingress` to your private registry `myregistry.example.com`)
4848
```console
49-
$ helm install --name my-release nginx-edge/nginx-ingress --set controller.image.repository=myregistry.example.com/nginx-plus-ingress --set controller.nginxplus=true
49+
$ helm install --name my-release nginx-stable/nginx-ingress --set controller.image.repository=myregistry.example.com/nginx-plus-ingress --set controller.nginxplus=true
5050
```
5151
5252
### Installing Using Chart Sources
@@ -58,6 +58,8 @@ This chart deploys the NGINX Ingress controller in your Kubernetes cluster.
5858
2. Change your working directory to /deployments/helm-chart:
5959
```console
6060
$ cd kubernetes-ingress/deployments/helm-chart
61+
$ cd kubernetes-ingress/deployments/helm-chart
62+
$ git checkout v1.7.0-rc1
6163
```
6264
6365
3. To install the chart with the release name my-release (my-release is the name that you choose):
@@ -123,7 +125,7 @@ Parameter | Description | Default
123125
`controller.nginxDebug` | Enables debugging for NGINX. Uses the `nginx-debug` binary. Requires `error-log-level: debug` in the ConfigMap via `controller.config.entries`. | false
124126
`controller.logLevel` | The log level of the Ingress Controller. | 1
125127
`controller.image.repository` | The image repository of the Ingress controller. | nginx/nginx-ingress
126-
`controller.image.tag` | The tag of the Ingress controller image. | edge
128+
`controller.image.tag` | The tag of the Ingress controller image. | 1.7.0-rc1
127129
`controller.image.pullPolicy` | The pull policy for the Ingress controller image. | IfNotPresent
128130
`controller.config.name` | The name of the ConfigMap used by the Ingress controller. | Autogenerated
129131
`controller.config.entries` | The entries of the ConfigMap for customizing NGINX configuration. | {}

deployments/helm-chart/values-icp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ controller:
33
nginxplus: true
44
image:
55
repository: mycluster.icp:8500/kube-system/nginx-plus-ingress
6-
tag: "edge"
6+
tag: "1.7.0-rc1"
77
nodeSelector:
88
beta.kubernetes.io/arch: "amd64"
99
proxy: true

0 commit comments

Comments
 (0)