Skip to content

Commit 7ffe30e

Browse files
pleshakovismael_serrano
authored and
ismael_serrano
committed
Use edge version in manifests and Helm chart
1 parent 43ec4c8 commit 7ffe30e

16 files changed

+53
-18
lines changed

README.md

+20
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,26 @@ We provide the following extensions to our Ingress controller:
3737

3838
Additional extensions as well as a mechanism to customize NGINX configuration are available. See [examples/customization](examples/customization).
3939

40+
## NGINX Ingress Controller Releases
41+
42+
We publish Ingress controller releases on GitHub. See our [releases page](https://github.com/nginxinc/kubernetes-ingress/releases).
43+
44+
The latest stable release is [1.3.0](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.3.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.
45+
46+
To use the Ingress controller, you need to have access to:
47+
* An Ingress controller image.
48+
* Installation manifests or a Helm chart.
49+
* Documentation and examples.
50+
51+
It is important that the versions of those things above match.
52+
53+
The table below summarizes the options regarding the images, manifests, helm chart, documentation and examples and gives your links to the correct versions:
54+
55+
| Version | Description | Image for NGINX | Image for NGINX Plus | Installation Manifests and Helm Chart | Documentation and Examples |
56+
| ------- | ----------- | --------------- | -------------------- | ---------------------------------------| -------------------------- |
57+
| Latest stable release | For production use | `nginx/nginx-ingress:1.3.0`, `nginx/nginx-ingress:1.3.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.3.0/nginx-controller). | [Build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/v1.3.0/nginx-controller). | [Manifests](https://github.com/nginxinc/kubernetes-ingress/tree/v1.3.0/install). [Helm chart](https://github.com/nginxinc/kubernetes-ingress/tree/v1.3.0/helm-chart). | [Documentation](https://github.com/nginxinc/kubernetes-ingress/tree/v1.3.0/docs). [Examples](https://github.com/nginxinc/kubernetes-ingress/tree/v1.3.0/examples). |
58+
| 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/nginx-controller). | [Build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/master/nginx-controller). | [Manifests](https://github.com/nginxinc/kubernetes-ingress/tree/master/install). [Helm chart](https://github.com/nginxinc/kubernetes-ingress/tree/master/helm-chart). | [Documentation](https://github.com/nginxinc/kubernetes-ingress/tree/master/docs). [Examples](https://github.com/nginxinc/kubernetes-ingress/tree/master/examples). |
59+
4060
## Benefits of Using the Ingress Controller with NGINX Plus
4161

4262
[NGINX Plus](https://www.nginx.com/products/) is a commercial version of NGINX that comes with advanced features and support.

examples/openshift/nginx-ingress-rc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
serviceAccountName: nginx-ingress
1717
containers:
18-
- image: nginx/nginx-ingress:1.3.0
18+
- image: nginx/nginx-ingress:edge
1919
imagePullPolicy: Always
2020
name: nginx-ingress
2121
ports:

examples/openshift/nginx-plus-ingress-rc.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ spec:
1515
spec:
1616
serviceAccountName: nginx-ingress
1717
containers:
18-
- image: nginx-plus-ingress:1.3.0
19-
# imagePullPolicy: Always
18+
- image: nginx-plus-ingress:edge
19+
imagePullPolicy: Always
2020
name: nginx-plus-ingress
2121
ports:
2222
- containerPort: 80

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.1.2
3-
appVersion: 1.3.0
3+
appVersion: edge
44
description: NGINX Ingress Controller
55
sources:
66
- https://github.com/nginxinc/kubernetes-ingress/tree/master/helm-chart

helm-chart/README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ This chart deploys the NGINX Ingress controller in your Kubernetes cluster.
1717

1818
1. Clone the Ingress controller repo:
1919
```
20-
$ git clone [email protected]:nginxinc/kubernetes-ingress.git
20+
$ git clone https://github.com/nginxinc/kubernetes-ingress/
21+
```
22+
1. If you're using a stable release, check out the corresponding tag. For release 1.3.0, run:
23+
```
24+
$ git checkout v1.3.0
2125
```
2226
2. Change your working directory to /helm-chart:
2327
```
@@ -62,7 +66,7 @@ Parameter | Description | Default
6266
`controller.nginxplus` | Deploys the Ingress controller for NGINX Plus. | false
6367
`controller.hostNetwork` | Enables the Ingress controller pods to use the host's network namespace. | false
6468
`controller.image.repository` | The image repository of the Ingress controller. | nginx/nginx-ingress
65-
`controller.image.tag` | The tag of the Ingress controller image. | 1.3.0
69+
`controller.image.tag` | The tag of the Ingress controller image. | edge
6670
`controller.image.pullPolicy` | The pull policy for the Ingress controller image. | IfNotPresent
6771
`controller.config.entries` | The entries of the ConfigMap for customizing NGINX configuration. | { }
6872
`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.

helm-chart/values-icp.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ controller:
55
hostNetwork: false
66
image:
77
repository: mycluster.icp:8500/kube-system/nginx-plus-ingress
8-
tag: "1.3.0"
8+
tag: "edge"
99
pullPolicy: IfNotPresent
1010
# It is recommended to use your own TLS certificate and key
1111
defaultTLS:

helm-chart/values-plus.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ controller:
55
hostNetwork: false
66
image:
77
repository: nginx-plus-ingress
8-
tag: "1.3.0"
8+
tag: "edge"
99
pullPolicy: IfNotPresent
1010
# It is recommended to use your own TLS certificate and key
1111
defaultTLS:

helm-chart/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ controller:
55
hostNetwork: false
66
image:
77
repository: nginx/nginx-ingress
8-
tag: "1.3.0"
8+
tag: "edge"
99
pullPolicy: IfNotPresent
1010
config:
1111
entries: {}

install/daemon-set/nginx-ingress.yaml

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

install/daemon-set/nginx-plus-ingress-with-prometheus.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ spec:
1717
spec:
1818
serviceAccountName: nginx-ingress
1919
containers:
20-
- image: nginx-plus-ingress:1.3.0
20+
- image: nginx-plus-ingress:edge
21+
imagePullPolicy: Always
2122
name: nginx-plus-ingress
2223
ports:
2324
- name: http

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

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

install/deployment/nginx-ingress.yaml

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

install/deployment/nginx-plus-ingress-with-prometheus.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ spec:
1818
spec:
1919
serviceAccountName: nginx-ingress
2020
containers:
21-
- image: nginx-plus-ingress:1.3.0
21+
- image: nginx-plus-ingress:edge
22+
imagePullPolicy: Always
2223
name: nginx-plus-ingress
2324
ports:
2425
- name: http

install/deployment/nginx-plus-ingress.yaml

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

nginx-controller/Makefile

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

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

nginx-controller/README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ We build the image using the make utility and the provided `Makefile`. Let’s c
3333
$ cd kubernetes-ingress/nginx-controller
3434
```
3535
36+
1. If you're using a stable release, check out the corresponding tag. For release 1.3.0, run:
37+
```
38+
$ git checkout v1.3.0
39+
```
40+
3641
1. Build the image:
3742
* For NGINX:
3843
```
@@ -41,7 +46,7 @@ We build the image using the make utility and the provided `Makefile`. Let’s c
4146
```
4247
`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.
4348
44-
As the result, the image **myregistry.example.com/nginx-ingress:1.3.0** is built and pushed to the registry. Note that the tag `1.3.0` comes from the `VERSION` variable, defined in the Makefile.
49+
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.
4550
4651
* 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 `nginx-controller` folder:
4752
```
@@ -55,7 +60,7 @@ We build the image using the make utility and the provided `Makefile`. Let’s c
5560
```
5661
`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.
5762
58-
As the result, the image **myregistry.example.com/nginx-plus-ingress:1.3.0** is built and pushed to the registry. Note that the tag `1.3.0` comes from the `VERSION` variable, defined in the Makefile.
63+
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.
5964
6065
Next you will find the details about available Makefile targets and variables.
6166

0 commit comments

Comments
 (0)