Skip to content

Commit 3745519

Browse files
committed
Release 1.4.0
1 parent 7f5e4b0 commit 3745519

19 files changed

+83
-28
lines changed

Diff for: CHANGELOG.md

+61
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,66 @@
11
# Changelog
22

3+
### 1.4.0
4+
5+
FEATURES:
6+
* [401](https://github.com/nginxinc/kubernetes-ingress/pull/401): Add the `-nginx-debug` flag for enabling debugging of NGINX using the `nginx-debug` binary.
7+
* [387](https://github.com/nginxinc/kubernetes-ingress/pull/387): Add the `-nginx-status-allow-cidrs` command-line argument for white listing IPv4 IP/CIDR blocks to allow access to NGINX stub_status or the NGINX Plus API. Thanks to [Jasmine Hegman](https://github.com/r4j4h).
8+
* [376](https://github.com/nginxinc/kubernetes-ingress/pull/376): Support the [random](http://nginx.org/en/docs/http/ngx_http_upstream_module.html#random) load balancing method.
9+
* [375](https://github.com/nginxinc/kubernetes-ingress/pull/375): Support custom annotations.
10+
* [346](https://github.com/nginxinc/kubernetes-ingress/pull/346): Support the Prometheus exporter for NGINX (the stub_status metrics).
11+
* [344](https://github.com/nginxinc/kubernetes-ingress/pull/344): Expose NGINX Plus API/NGINX stub_status on a custom port via the `-nginx-status-port` command-line argument. See also the CHANGES section.
12+
* [342](https://github.com/nginxinc/kubernetes-ingress/pull/342): Add the `error-log-level` configmap key. Thanks to [boran seref](https://github.com/boranx).
13+
* [320](https://github.com/nginxinc/kubernetes-ingress/pull/340): Support TCP/UDP load balancing via the `stream-snippets` configmap key.
14+
15+
16+
IMPROVEMENTS:
17+
* [434](https://github.com/nginxinc/kubernetes-ingress/pull/434): Improve consistency of templates.
18+
* [432](https://github.com/nginxinc/kubernetes-ingress/pull/432): Fix cli-docs and Improve main test.
19+
* [419](https://github.com/nginxinc/kubernetes-ingress/pull/419): Refactor config writing. Thanks to [feifeiiiiiiiiii](https://github.com/feifeiiiiiiiiiii).
20+
* [403](https://github.com/nginxinc/kubernetes-ingress/pull/403): Improve NGINX start.
21+
* [400](https://github.com/nginxinc/kubernetes-ingress/pull/400): Fix error message in internal/controller/controller.go. Thanks to [Alex O Regan](https://github.com/aaaaaaaalex).
22+
* [399](https://github.com/nginxinc/kubernetes-ingress/pull/399): Improve secret handling. See also the CHANGES section.
23+
* [391](https://github.com/nginxinc/kubernetes-ingress/pull/391): Update default lb-method to be random two least_conn. See also the CHANGES section.
24+
* [389](https://github.com/nginxinc/kubernetes-ingress/pull/389): Improve parsing nginx.org/rewrites annotation.
25+
* [380](https://github.com/nginxinc/kubernetes-ingress/pull/380): Verify reloads & cache secrets.
26+
* [362](https://github.com/nginxinc/kubernetes-ingress/pull/362): Reduce reloads.
27+
* [357](https://github.com/nginxinc/kubernetes-ingress/pull/357): Improve Project Layout and Refactor Controller Package. See also the CHANGES section.
28+
* [351](https://github.com/nginxinc/kubernetes-ingress/pull/351): Make socket address obvious.
29+
30+
BUGFIXES:
31+
* [429](https://github.com/nginxinc/kubernetes-ingress/pull/429): Fix panic with health checks.
32+
* [386](https://github.com/nginxinc/kubernetes-ingress/pull/386): Fix Configmap/Mergeable Ingress Add/Update event logging.
33+
* [379](https://github.com/nginxinc/kubernetes-ingress/pull/379): Fix configmap update.
34+
* [365](https://github.com/nginxinc/kubernetes-ingress/pull/365): Don't enqueue ingress for some service changes.
35+
* [348](https://github.com/nginxinc/kubernetes-ingress/pull/348): Fix Configurator error check.
36+
37+
HELM CHART:
38+
* [430](https://github.com/nginxinc/kubernetes-ingress/pull/430): Add the `controller.serviceAccount.imagePullSecrets` parameter to the helm chart. See also the CHANGES section.
39+
* [420](https://github.com/nginxinc/kubernetes-ingress/pull/420): Simplify values files for Helm Chart.
40+
* [398](https://github.com/nginxinc/kubernetes-ingress/pull/398): Add the `controller.nginxStatus.allowCidrs` and `controller.service.externalIPs` parameters to helm chart.
41+
* [393](https://github.com/nginxinc/kubernetes-ingress/pull/393): Refactor Helm Chart templates.
42+
* [390](https://github.com/nginxinc/kubernetes-ingress/pull/390): Add the `controller.service.loadBalancerIP` parameter to the helm chat.
43+
* [377](https://github.com/nginxinc/kubernetes-ingress/pull/377): Add the `controller.nginxStatus` parameters to the helm chart.
44+
* [335](https://github.com/nginxinc/kubernetes-ingress/pull/335): Add the `controller.reportIngressStatus` parameters to the helm chart.
45+
* The version of the Helm chart is now 0.2.0.
46+
47+
CHANGES:
48+
* Update NGINX version to 1.15.6.
49+
* Update NGINX Plus version to R16p1.
50+
* Update NGINX Prometheus Exporter to 0.2.0.
51+
* [430](https://github.com/nginxinc/kubernetes-ingress/pull/430): Add the `controller.serviceAccount.imagePullSecrets` parameter to the helm chart. **Note**: the `controller.serviceAccountName` parameter has been changed to `controller.serviceAccount.name`.
52+
* [399](https://github.com/nginxinc/kubernetes-ingress/pull/399): Improve secret handling. **Note**: the PR changed how the Ingress Controller processes Ingress resources with TLS termination enabled but without any referenced (or with invalid) secrets and Ingress resources with JWT validation enabled but without any referenced (or with invalid) JWK. Please read [here](https://github.com/nginxinc/kubernetes-ingress/pull/399) for more details.
53+
* [357](https://github.com/nginxinc/kubernetes-ingress/pull/357): Improve Project Layout and Refactor Controller Package. **Note**: the PR significantly changed the layout of the project to follow best practices.
54+
* [347](https://github.com/nginxinc/kubernetes-ingress/pull/347): Use edge version in manifests and Helm chart. **Note**: the manifests and the helm chart in the master branch now reference the edge version of the Ingress Controller instead of the latest stable version used previously.
55+
* [391](https://github.com/nginxinc/kubernetes-ingress/pull/391): Update default lb-method to be random two least_conn. **Note**: the default load balancing method is now the power of two choices as it better suits the Ingress Controller use case. Please read the [blog post](https://www.nginx.com/blog/nginx-power-of-two-choices-load-balancing-algorithm/) about the method for more details.
56+
* [344](https://github.com/nginxinc/kubernetes-ingress/pull/344): Expose NGINX Plus API/NGINX stub_status on a custom port via the `-nginx-status-port` command-line argument. **Note**: For NGINX the stub_status is now exposed on port 8080 at the /stub_status URL by default. Previously, the stub_status was not exposed on any port. The stub_status can be disabled via the `-nginx-status` flag.
57+
58+
DOC AND EXAMPLES FIXES/IMPROVEMENTS: [435](https://github.com/nginxinc/kubernetes-ingress/pull/435), [433](https://github.com/nginxinc/kubernetes-ingress/pull/433), [432](https://github.com/nginxinc/kubernetes-ingress/pull/432), [418](https://github.com/nginxinc/kubernetes-ingress/pull/418) (Thanks to [Hal Deadman](https://github.com/hdeadman)), [406](https://github.com/nginxinc/kubernetes-ingress/pull/406), [381](https://github.com/nginxinc/kubernetes-ingress/pull/381), [349](https://github.com/nginxinc/kubernetes-ingress/pull/349) (Thanks to [Artur Geraschenko](https://github.com/arturgspb)), [343](https://github.com/nginxinc/kubernetes-ingress/pull/343)
59+
60+
UPGRADE:
61+
* For NGINX, use the 1.4.0 image from our DockerHub: `nginx/nginx-ingress:1.4.0` or `nginx/nginx-ingress:1.4.0-alpine`
62+
* For NGINX Plus, please build your own image using the 1.4.0 source code.
63+
364
### 1.3.2
465

566
CHANGES:

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
all: push
22

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

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Read [this doc](docs/nginx-plus.md) to learn more about NGINX Ingress controller
4545

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

48-
The latest stable release is [1.3.2](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.3.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.
48+
The latest stable release is [1.4.0](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.4.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.
4949

5050
To use the Ingress controller, you need to have access to:
5151
* An Ingress controller image.
@@ -58,7 +58,7 @@ The table below summarizes the options regarding the images, manifests, helm cha
5858

5959
| Version | Description | Image for NGINX | Image for NGINX Plus | Installation Manifests and Helm Chart | Documentation and Examples |
6060
| ------- | ----------- | --------------- | -------------------- | ---------------------------------------| -------------------------- |
61-
| Latest stable release | For production use | `nginx/nginx-ingress:1.3.2`, `nginx/nginx-ingress:1.3.2-alpine` from [DockerHub](https://hub.docker.com/r/nginx/nginx-ingress/) or [build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/v1.3.2/nginx-controller). | [Build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/v1.3.2/nginx-controller). | [Manifests](https://github.com/nginxinc/kubernetes-ingress/tree/v1.3.2/install). [Helm chart](https://github.com/nginxinc/kubernetes-ingress/tree/v1.3.2/helm-chart). | [Documentation](https://github.com/nginxinc/kubernetes-ingress/tree/v1.3.2/docs). [Examples](https://github.com/nginxinc/kubernetes-ingress/tree/v1.3.2/examples). |
61+
| Latest stable release | For production use | `nginx/nginx-ingress:1.4.0`, `nginx/nginx-ingress:1.4.0-alpine` from [DockerHub](https://hub.docker.com/r/nginx/nginx-ingress/) or [build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/v1.4.0/build). | [Build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/v1.4.0/build). | [Manifests](https://github.com/nginxinc/kubernetes-ingress/tree/v1.4.0/deployments). [Helm chart](https://github.com/nginxinc/kubernetes-ingress/tree/v1.4.0/deployments/helm-chart). | [Documentation](https://github.com/nginxinc/kubernetes-ingress/tree/v1.4.0/docs). [Examples](https://github.com/nginxinc/kubernetes-ingress/tree/v1.4.0/examples). |
6262
| 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/build). | [Build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/master/build). | [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). [Examples](https://github.com/nginxinc/kubernetes-ingress/tree/master/examples). |
6363

6464
## Contacts

Diff for: build/README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ We build the image using the make utility and the provided `Makefile`. Let’s c
3030
1. Clone the Ingress controller repo:
3131
```
3232
$ git clone https://github.com/nginxinc/kubernetes-ingress/
33+
$ git checkout v1.4.0
3334
```
3435
3536
1. Build the image:
@@ -40,7 +41,7 @@ We build the image using the make utility and the provided `Makefile`. Let’s c
4041
```
4142
`myregistry.example.com/nginx-ingress` defines the repo in your private registry where the image will be pushed. Substitute that value with the repo in your private registry.
4243
43-
As the result, the image **myregistry.example.com/nginx-ingress:edge** is built and pushed to the registry. Note that the tag `edge` comes from the `VERSION` variable, defined in the Makefile.
44+
As the result, the image **myregistry.example.com/nginx-ingress:1.4.0** is built and pushed to the registry. Note that the tag `1.4.0` comes from the `VERSION` variable, defined in the Makefile.
4445
4546
* For NGINX Plus, first, make sure that the certificate (`nginx-repo.crt`) and the key (`nginx-repo.key`) of your license are located in the root of the project:
4647
```
@@ -54,7 +55,7 @@ We build the image using the make utility and the provided `Makefile`. Let’s c
5455
```
5556
`myregistry.example.com/nginx-plus-ingress` defines the repo in your private registry where the image will be pushed. Substitute that value with the repo in your private registry.
5657
57-
As the result, the image **myregistry.example.com/nginx-plus-ingress:edge** is built and pushed to the registry. Note that the tag `edge` comes from the `VERSION` variable, defined in the Makefile.
58+
As the result, the image **myregistry.example.com/nginx-plus-ingress:1.4.0** is built and pushed to the registry. Note that the tag `1.4.0` comes from the `VERSION` variable, defined in the Makefile.
5859
5960
Next you will find the details about available Makefile targets and variables.
6061

Diff for: deployments/daemon-set/nginx-ingress-with-prometheus.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
spec:
1818
serviceAccountName: nginx-ingress
1919
containers:
20-
- image: nginx/nginx-ingress:edge
20+
- image: nginx/nginx-ingress:1.4.0
2121
name: nginx-ingress
2222
ports:
2323
- name: http

Diff for: deployments/daemon-set/nginx-ingress.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ spec:
1414
spec:
1515
serviceAccountName: nginx-ingress
1616
containers:
17-
- image: nginx/nginx-ingress:edge
18-
imagePullPolicy: Always
17+
- image: nginx/nginx-ingress:1.4.0
1918
name: nginx-ingress
2019
ports:
2120
- name: http

Diff for: deployments/daemon-set/nginx-plus-ingress-with-prometheus.yaml

+1-2
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.4.0
2221
name: nginx-plus-ingress
2322
ports:
2423
- name: http

Diff for: deployments/daemon-set/nginx-plus-ingress.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ spec:
1414
spec:
1515
serviceAccountName: nginx-ingress
1616
containers:
17-
- image: nginx-plus-ingress:edge
18-
imagePullPolicy: Always
17+
- image: nginx-plus-ingress:1.4.0
1918
name: nginx-plus-ingress
2019
ports:
2120
- name: http

Diff for: deployments/deployment/nginx-ingress-with-prometheus.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
spec:
1919
serviceAccountName: nginx-ingress
2020
containers:
21-
- image: nginx/nginx-ingress:edge
21+
- image: nginx/nginx-ingress:1.4.0
2222
name: nginx-ingress
2323
ports:
2424
- name: http

Diff for: deployments/deployment/nginx-ingress.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ spec:
1515
spec:
1616
serviceAccountName: nginx-ingress
1717
containers:
18-
- image: nginx/nginx-ingress:edge
19-
imagePullPolicy: Always
18+
- image: nginx/nginx-ingress:1.4.0
2019
name: nginx-ingress
2120
ports:
2221
- name: http

Diff for: deployments/deployment/nginx-plus-ingress-with-prometheus.yaml

+1-2
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.4.0
2322
name: nginx-plus-ingress
2423
ports:
2524
- name: http

Diff for: deployments/deployment/nginx-plus-ingress.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ spec:
1515
spec:
1616
serviceAccountName: nginx-ingress
1717
containers:
18-
- image: nginx-plus-ingress:edge
19-
imagePullPolicy: Always
18+
- image: nginx-plus-ingress:1.4.0
2019
name: nginx-plus-ingress
2120
ports:
2221
- name: http

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: nginx-ingress
22
version: 0.2.0
3-
appVersion: edge
3+
appVersion: 1.4.0
44
description: NGINX Ingress Controller
55
sources:
66
- https://github.com/nginxinc/kubernetes-ingress/tree/master/deployment/helm-chart

Diff for: deployments/helm-chart/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This chart deploys the NGINX Ingress controller in your Kubernetes cluster.
1818
1. Clone the Ingress controller repo:
1919
```
2020
$ git clone https://github.com/nginxinc/kubernetes-ingress/
21+
$ git checkout v1.4.0
2122
```
2223
2. Change your working directory to /deployments/helm-chart:
2324
```
@@ -63,7 +64,7 @@ Parameter | Description | Default
6364
`controller.hostNetwork` | Enables the Ingress controller pods to use the host's network namespace. | false
6465
`controller.nginxDebug` | Enables debugging for NGINX. Uses the `nginx-debug` binary. Requires `error-log-level: debug` in the ConfigMap via `controller.config.entries`. | false
6566
`controller.image.repository` | The image repository of the Ingress controller. | nginx/nginx-ingress
66-
`controller.image.tag` | The tag of the Ingress controller image. | edge
67+
`controller.image.tag` | The tag of the Ingress controller image. | 1.4.0
6768
`controller.image.pullPolicy` | The pull policy for the Ingress controller image. | IfNotPresent
6869
`controller.config.entries` | The entries of the ConfigMap for customizing NGINX configuration. | { }
6970
`controller.defaultTLS.cert` | The base64-encoded TLS certificate for the default HTTPS server. If not specified, a pre-generated self-signed certificate is used. **Note:** It is recommended that you specify your own certificate. | A pre-generated self-signed certificate.

Diff for: deployments/helm-chart/values-icp.yaml

+1-1
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.4.0"
77
nodeSelector: { beta.kubernetes.io/arch: "amd64",
88
proxy: "true" }
99
terminationGracePeriodSeconds: 60

Diff for: deployments/helm-chart/values-plus.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ controller:
22
nginxplus: true
33
image:
44
repository: nginx-plus-ingress
5-
tag: "edge"
5+
tag: "1.4.0"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ controller:
66
nginxDebug: false
77
image:
88
repository: nginx/nginx-ingress
9-
tag: "edge"
9+
tag: "1.4.0"
1010
pullPolicy: IfNotPresent
1111
config:
1212
entries: {}

Diff for: examples/openshift/nginx-ingress-rc.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ spec:
1515
spec:
1616
serviceAccountName: nginx-ingress
1717
containers:
18-
- image: nginx/nginx-ingress:edge
19-
imagePullPolicy: Always
18+
- image: nginx/nginx-ingress:1.4.0
2019
name: nginx-ingress
2120
ports:
2221
- containerPort: 80

Diff for: examples/openshift/nginx-plus-ingress-rc.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ spec:
1515
spec:
1616
serviceAccountName: nginx-ingress
1717
containers:
18-
- image: nginx-plus-ingress:edge
19-
imagePullPolicy: Always
18+
- image: nginx-plus-ingress:1.4.0
2019
name: nginx-plus-ingress
2120
ports:
2221
- containerPort: 80

0 commit comments

Comments
 (0)