Skip to content

Commit ce3ab89

Browse files
pleshakovRulox
authored andcommitted
Release 1.8.0
1 parent 8224595 commit ce3ab89

30 files changed

+214
-82
lines changed

CHANGELOG.md

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

3+
### 1.8.0
4+
5+
OVERVIEW:
6+
7+
Release 1.8.0 includes:
8+
* Support for NGINX App Protect Web Application Firewall.
9+
* Support for configuration snippets and custom template for VirtualServer and VirtualServerRoute resources.
10+
* Support for request/response header manipulation and request URI rewriting for VirtualServer/VirtualServerRoute.
11+
* Introducing a new configuration resource - Policy - with the first policy for IP-based access control.
12+
13+
You will find the complete changelog for release 1.8.0, including bug fixes, improvements, and changes below.
14+
15+
FEATURES FOR VIRTUALSERVER AND VIRTUALSERVERROUTE RESOURCES:
16+
* [1036](https://github.com/nginxinc/kubernetes-ingress/pull/1036): Add VirtualServer custom template support.
17+
* [1028](https://github.com/nginxinc/kubernetes-ingress/pull/1028): Add access control policy.
18+
* [1019](https://github.com/nginxinc/kubernetes-ingress/pull/1019): Add VirtualServer/VirtualServerRoute snippets support.
19+
* [1006](https://github.com/nginxinc/kubernetes-ingress/pull/1006): Add request/response modifiers to VS and VSR.
20+
* [994](https://github.com/nginxinc/kubernetes-ingress/pull/994): Support Class Field in VS/VSR.
21+
* [973](https://github.com/nginxinc/kubernetes-ingress/pull/973): Add status to VirtualServer and VirtualServerRoute.
22+
23+
FEATURES:
24+
* [1035](https://github.com/nginxinc/kubernetes-ingress/pull/1035): Support for App Protect module.
25+
* [1029](https://github.com/nginxinc/kubernetes-ingress/pull/1029): Add readiness endpoint.
26+
27+
IMPROVEMENTS:
28+
* [995](https://github.com/nginxinc/kubernetes-ingress/pull/995): Emit event for orphaned VirtualServerRoutes.
29+
* Documentation improvements: [946](https://github.com/nginxinc/kubernetes-ingress/pull/946) thanks to [谭九鼎](https://github.com/imba-tjd), [948](https://github.com/nginxinc/kubernetes-ingress/pull/948), [972](https://github.com/nginxinc/kubernetes-ingress/pull/972), [965](https://github.com/nginxinc/kubernetes-ingress/pull/965).
30+
31+
BUGFIXES:
32+
* [1030](https://github.com/nginxinc/kubernetes-ingress/pull/1030): Fix port range validation in cli arguments.
33+
* [953](https://github.com/nginxinc/kubernetes-ingress/pull/953): Fix error logging of master/minion ingresses.
34+
35+
HELM CHART:
36+
* The version of the helm chart is now 0.6.0.
37+
* Add new parameters to the Chart: `controller.appprotect.enable`, `controller.globalConfiguration.create`, `controller.globalConfiguration.spec`, `controller.readyStatus.enable`, `controller.readyStatus.port`, `controller.config.annotations`, `controller.reportIngressStatus.annotations`. Added in [1035](https://github.com/nginxinc/kubernetes-ingress/pull/1035), [1034](https://github.com/nginxinc/kubernetes-ingress/pull/1034), [1029](https://github.com/nginxinc/kubernetes-ingress/pull/1029), [1003](https://github.com/nginxinc/kubernetes-ingress/pull/1003) thanks to [RubyLangdon](https://github.com/RubyLangdon).
38+
* [1047](https://github.com/nginxinc/kubernetes-ingress/pull/1047) and [1009](https://github.com/nginxinc/kubernetes-ingress/pull/1009): Change how Helm manages the custom resource defintions (CRDs) to support installing multiple Ingress Controller releases. **Note**: If you're using the custom resources (`controller.enableCustomResources` is set to `true`), this is a breaking change. See the HELM UPGRADE section below for the upgrade instructions.
39+
40+
CHANGES:
41+
* Update NGINX version to 1.19.1.
42+
* Update NGINX Plus to R22.
43+
* [1029](https://github.com/nginxinc/kubernetes-ingress/pull/1029): Add readiness endpoint. The Ingress Controller now exposes a readiness endpoint on port `8081` and the path `/nginx-ready`. The endpoint returns a `200` response after the Ingress Controller finishes the initial configuration of NGINX at the start. The pod template was updated to use that endpoint in a readiness probe.
44+
* [980](https://github.com/nginxinc/kubernetes-ingress/pull/980): Enable leader election by default.
45+
46+
UPGRADE:
47+
* For NGINX, use the 1.8.0 image from our DockerHub: `nginx/nginx-ingress:1.8.0`, `nginx/nginx-ingress:1.8.0-alpine` or `nginx-ingress:1.8.0-ubi`
48+
* For NGINX Plus, please build your own image using the 1.8.0 source code.
49+
* For Helm, use version 0.6.0 of the chart.
50+
51+
HELM UPGRADE:
52+
53+
If you're using custom resources like VirtualServer and TransportServer (`controller.enableCustomResources` is set to `true`), after you run the `helm upgrade` command, the CRDs and the corresponding custom resources will be removed from the cluster. Before upgrading, make sure to back up the custom resources. After running the `helm upgrade` command, run `kubectl apply -f deployments/helm-chart/crds` to re-install the CRDs and then restore the custom resources.
54+
55+
NOTES:
56+
* As part of installing a release, Helm will install the CRDs unless that step is disabled (see the [corresponding doc](https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-helm/)). The installed CRDs include the CRDs for all Ingress Controller features, including the ones disabled by default (like App Protect with `aplogconfs.appprotect.f5.com` and `appolicies.appprotect.f5.com` CRDs).
57+
358
### 1.7.2
459

560
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.8.0
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
@@ -51,7 +51,7 @@ Read [this doc](docs/nginx-plus.md) to learn more about NGINX Ingress controller
5151

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

54-
The latest stable release is [1.7.2](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.7.2). 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.
54+
The latest stable release is [1.8.0](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.8.0). 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.
5555

5656
To use the Ingress controller, you need to have access to:
5757
* An Ingress controller image.
@@ -64,7 +64,7 @@ The table below summarizes the options regarding the images, manifests, helm cha
6464

6565
| Version | Description | Image for NGINX | Image for NGINX Plus | Installation Manifests and Helm Chart | Documentation and Examples |
6666
| ------- | ----------- | --------------- | -------------------- | ---------------------------------------| -------------------------- |
67-
| Latest stable release | For production use | `nginx/nginx-ingress:1.7.2`, `nginx/nginx-ingress:1.7.2-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.2/deployments). [Helm chart](https://github.com/nginxinc/kubernetes-ingress/tree/v1.7.2/deployments/helm-chart). | [Documentation](https://docs.nginx.com/nginx-ingress-controller/). [Examples](https://docs.nginx.com/nginx-ingress-controller/configuration/configuration-examples/). |
67+
| Latest stable release | For production use | `nginx/nginx-ingress:1.8.0`, `nginx/nginx-ingress:1.8.0-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.8.0/deployments). [Helm chart](https://github.com/nginxinc/kubernetes-ingress/tree/v1.8.0/deployments/helm-chart). | [Documentation](https://docs.nginx.com/nginx-ingress-controller/). [Examples](https://docs.nginx.com/nginx-ingress-controller/configuration/configuration-examples/). |
6868
| 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). |
6969

7070
## Contacts

deployments/daemon-set/nginx-ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ spec:
1717
spec:
1818
serviceAccountName: nginx-ingress
1919
containers:
20-
- image: nginx/nginx-ingress:edge
21-
imagePullPolicy: Always
20+
- image: nginx/nginx-ingress:1.8.0
21+
imagePullPolicy: IfNotPresent
2222
name: nginx-ingress
2323
ports:
2424
- name: http

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ spec:
1717
spec:
1818
serviceAccountName: nginx-ingress
1919
containers:
20-
- image: nginx-plus-ingress:edge
21-
imagePullPolicy: Always
20+
- image: nginx-plus-ingress:1.8.0
21+
imagePullPolicy: IfNotPresent
2222
name: nginx-plus-ingress
2323
ports:
2424
- name: http

deployments/deployment/nginx-ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ spec:
1818
spec:
1919
serviceAccountName: nginx-ingress
2020
containers:
21-
- image: nginx/nginx-ingress:edge
22-
imagePullPolicy: Always
21+
- image: nginx/nginx-ingress:1.8.0
22+
imagePullPolicy: IfNotPresent
2323
name: nginx-ingress
2424
ports:
2525
- name: http

deployments/deployment/nginx-plus-ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ spec:
1818
spec:
1919
serviceAccountName: nginx-ingress
2020
containers:
21-
- image: nginx-plus-ingress:edge
22-
imagePullPolicy: Always
21+
- image: nginx-plus-ingress:1.8.0
22+
imagePullPolicy: IfNotPresent
2323
name: nginx-plus-ingress
2424
ports:
2525
- 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.6.0
3+
appVersion: 1.8.0
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.8.0/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.8.0/deployments/helm-chart
99
keywords:
1010
- ingress
1111
- nginx

deployments/helm-chart/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ This step is required if you're installing the chart using its sources. Addition
2020
1. Clone the Ingress controller repo:
2121
```console
2222
$ git clone https://github.com/nginxinc/kubernetes-ingress/
23+
$ git checkout v1.8.0
2324
```
2425
2. Change your working directory to /deployments/helm-chart:
2526
```console
@@ -31,7 +32,7 @@ This step is required if you're installing the chart using its sources. Addition
3132
This step is required if you're installing the chart via the helm repository.
3233

3334
```console
34-
$ helm repo add nginx-edge https://helm.nginx.com/edge
35+
$ helm repo add nginx-stable https://helm.nginx.com/stable
3536
$ helm repo update
3637
```
3738

@@ -60,24 +61,24 @@ To install the chart with the release name my-release (my-release is the name th
6061

6162
For NGINX:
6263
```console
63-
$ helm install my-release nginx-edge/nginx-ingress --devel
64+
$ helm install my-release nginx-stable/nginx-ingress
6465
```
6566

6667
For NGINX Plus: (assuming you have pushed the Ingress controller image `nginx-plus-ingress` to your private registry `myregistry.example.com`)
6768
```console
68-
$ helm install my-release nginx-edge/nginx-ingress --set controller.image.repository=myregistry.example.com/nginx-plus-ingress --set controller.nginxplus=true --devel
69+
$ helm install my-release nginx-stable/nginx-ingress --set controller.image.repository=myregistry.example.com/nginx-plus-ingress --set controller.nginxplus=true
6970
```
7071

7172
* Using Helm 2.x client:
7273

7374
For NGINX:
7475
```console
75-
$ helm install --name my-release nginx-edge/nginx-ingress --devel
76+
$ helm install --name my-release nginx-stable/nginx-ingress
7677
```
7778

7879
For NGINX Plus: (assuming you have pushed the Ingress controller image `nginx-plus-ingress` to your private registry `myregistry.example.com`)
7980
```console
80-
$ helm install --name my-release nginx-edge/nginx-ingress --set controller.image.repository=myregistry.example.com/nginx-plus-ingress --set controller.nginxplus=true --devel
81+
$ helm install --name my-release nginx-stable/nginx-ingress --set controller.image.repository=myregistry.example.com/nginx-plus-ingress --set controller.nginxplus=true
8182
```
8283

8384
### Installing Using Chart Sources
@@ -142,7 +143,7 @@ $ helm upgrade my-release .
142143
#### Upgrade via Helm Repository:
143144

144145
```console
145-
$ helm upgrade my-release nginx-edge/nginx-ingress
146+
$ helm upgrade my-release nginx-stable/nginx-ingress
146147
```
147148

148149
## Uninstalling the Chart
@@ -194,7 +195,7 @@ Parameter | Description | Default
194195
`controller.nginxDebug` | Enables debugging for NGINX. Uses the `nginx-debug` binary. Requires `error-log-level: debug` in the ConfigMap via `controller.config.entries`. | false
195196
`controller.logLevel` | The log level of the Ingress Controller. | 1
196197
`controller.image.repository` | The image repository of the Ingress controller. | nginx/nginx-ingress
197-
`controller.image.tag` | The tag of the Ingress controller image. | edge
198+
`controller.image.tag` | The tag of the Ingress controller image. | 1.8.0
198199
`controller.image.pullPolicy` | The pull policy for the Ingress controller image. | IfNotPresent
199200
`controller.config.name` | The name of the ConfigMap used by the Ingress controller. | Autogenerated
200201
`controller.config.annotations` | The annotations of the Ingress controller configmap. | {}

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.8.0"
77
nodeSelector:
88
beta.kubernetes.io/arch: "amd64"
99
proxy: true

0 commit comments

Comments
 (0)