Skip to content

Commit 84d9a3d

Browse files
authored
Update NGINX Ingress Controller to 4.0.0 (#435)
1 parent fe22c86 commit 84d9a3d

File tree

1,268 files changed

+6692
-6245
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,268 files changed

+6692
-6245
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To re-generate a bundle for another specific version without changing the standard setup, you can:
44
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
6-
VERSION ?= 2.4.2
6+
VERSION ?= 3.0.0
77

88
# CHANNELS define the bundle channels used in the bundle.
99
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The following table shows the relation between the versions of the two projects:
1717

1818
| NGINX Ingress Controller | NGINX Ingress Operator |
1919
| ------------------------ | ---------------------- |
20+
| 4.0.x | 3.0.0 |
2021
| 3.7.x | 2.4.2 |
2122
| 3.6.x | 2.3.2 |
2223
| 3.5.x | 2.2.2 |
@@ -76,7 +77,7 @@ See [upgrade docs](./docs/upgrades.md)
7677

7778
We publish NGINX Ingress Operator releases on GitHub. See our [releases page](https://github.com/nginxinc/nginx-ingress-helm-operator/releases).
7879

79-
The latest stable release is [2.4.2](https://github.com/nginxinc/nginx-ingress-helm-operator/releases/tag/v2.4.2). For production use, we recommend that you choose the latest stable release.
80+
The latest stable release is [3.0.0](https://github.com/nginxinc/nginx-ingress-helm-operator/releases/tag/v3.0.0). For production use, we recommend that you choose the latest stable release.
8081

8182
## Development
8283

bundle/manifests/nginx-ingress-operator.clusterserviceversion.yaml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@ metadata:
7777
"image": {
7878
"pullPolicy": "IfNotPresent",
7979
"repository": "nginx/nginx-ingress",
80-
"tag": "3.7.2-ubi"
80+
"tag": "4.0.0-ubi"
8181
},
82-
"includeYear": false,
8382
"ingressClass": {
8483
"create": true,
8584
"name": "nginx",
@@ -94,7 +93,11 @@ metadata:
9493
"initContainers": [],
9594
"kind": "deployment",
9695
"lifecycle": {},
97-
"logLevel": 1,
96+
"logFormat": "glog",
97+
"logLevel": "info",
98+
"mgmt": {
99+
"licenseTokenSecretName": "license-token"
100+
},
98101
"minReadySeconds": 0,
99102
"name": "controller",
100103
"nginxDebug": false,
@@ -220,8 +223,8 @@ metadata:
220223
capabilities: Basic Install
221224
categories: Monitoring, Networking
222225
certified: "true"
223-
containerImage: quay.io/nginx/nginx-ingress-operator:2.4.2
224-
createdAt: "2024-11-25T17:47:09Z"
226+
containerImage: quay.io/nginx/nginx-ingress-operator:3.0.0
227+
createdAt: "2024-12-17T10:28:34Z"
225228
description: The NGINX Ingress Operator is a Kubernetes/OpenShift component which
226229
deploys and manages one or more NGINX/NGINX Plus Ingress Controllers
227230
features.operators.openshift.io/cnf: "false"
@@ -244,7 +247,7 @@ metadata:
244247
operatorframework.io/arch.arm64: supported
245248
operatorframework.io/arch.ppc64le: supported
246249
operatorframework.io/arch.s390x: supported
247-
name: nginx-ingress-operator.v2.4.2
250+
name: nginx-ingress-operator.v3.0.0
248251
namespace: placeholder
249252
spec:
250253
apiservicedefinitions: {}
@@ -448,7 +451,7 @@ spec:
448451
- --metrics-bind-address=127.0.0.1:8080
449452
- --leader-elect
450453
- --leader-election-id=nginx-ingress-operator
451-
image: quay.io/nginx/nginx-ingress-operator:2.4.2
454+
image: quay.io/nginx/nginx-ingress-operator:3.0.0
452455
livenessProbe:
453456
httpGet:
454457
path: /healthz
@@ -539,4 +542,4 @@ spec:
539542
minKubeVersion: 1.26.0
540543
provider:
541544
name: NGINX Inc
542-
version: 2.4.2
545+
version: 3.0.0

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ kind: Kustomization
55
images:
66
- name: controller
77
newName: quay.io/nginx/nginx-ingress-operator
8-
newTag: 2.4.2
8+
newTag: 3.0.0

config/manifests/bases/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ resources:
33
apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
commonAnnotations:
6-
containerImage: quay.io/nginx/nginx-ingress-operator:2.4.2
6+
containerImage: quay.io/nginx/nginx-ingress-operator:3.0.0

config/samples/charts_v1alpha1_nginxingress.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ spec:
1010
selectorLabels: {}
1111
annotations: {}
1212
nginxplus: false
13+
mgmt:
14+
licenseTokenSecretName: license-token
1315
nginxReloadTimeout: 60000
1416
appprotect:
1517
enable: false
@@ -31,11 +33,12 @@ spec:
3133
dnsPolicy: ClusterFirst
3234
nginxDebug: false
3335
shareProcessNamespace: false
34-
logLevel: 1
36+
logLevel: info
37+
logFormat: glog
3538
customPorts: []
3639
image:
3740
repository: nginx/nginx-ingress
38-
tag: "3.7.2-ubi"
41+
tag: "4.0.0-ubi"
3942
# digest: "sha256:CHANGEME"
4043
pullPolicy: IfNotPresent
4144
lifecycle: {}
@@ -115,7 +118,6 @@ spec:
115118
watchSecretNamespace: ""
116119
enableCustomResources: true
117120
enableOIDC: false
118-
includeYear: false
119121
enableTLSPassthrough: false
120122
tlsPassthroughPort: 443
121123
enableCertManager: false

docs/manual-installation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ This will deploy the operator in the `nginx-ingress-operator-system` namespace.
77
1. Clone the `nginx-ingress-operator` repo:
88

99
```shell
10-
git clone https://github.com/nginxinc/nginx-ingress-helm-operator/ --branch v2.4.2
10+
git clone https://github.com/nginxinc/nginx-ingress-helm-operator/ --branch v3.0.0
1111
cd nginx-ingress-helm-operator/
1212
```
1313

1414
2. To deploy the Operator and associated resources to all environments, run:
1515

1616
```shell
17-
make deploy IMG=nginx/nginx-ingress-operator:2.4.2
17+
make deploy IMG=nginx/nginx-ingress-operator:3.0.0
1818
```
1919

2020
2. Check that the Operator is running:
@@ -30,11 +30,11 @@ This will deploy the operator in the `nginx-ingress-operator-system` namespace.
3030

3131
In order to deploy NGINX Ingress Controller instances into OpenShift environments, a new SCC is required to be created on the cluster which will be used to bind the specific required capabilities to the NGINX Ingress service account(s). To do so for NIC deployments, please run the following command (assuming you are logged in with administrator access to the cluster):
3232

33-
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v2.4.2/resources/scc.yaml`
33+
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v3.0.0/resources/scc.yaml`
3434

3535
Alternatively, to create an SCC for NIC daemonsets, please run this command:
3636

37-
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v2.4.2/resources/scc-daemonset.yaml`
37+
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v3.0.0/resources/scc-daemonset.yaml`
3838

3939
You can now deploy the NGINX Ingress Controller instances.
4040

@@ -44,19 +44,19 @@ You can now deploy the NGINX Ingress Controller instances.
4444
You can use the operator (including the kube-rbac-proxy) images from your own private registry.
4545
1. Tag the images for your private registry
4646
```shell
47-
docker tag quay.io/nginx/nginx-ingress-operator:2.4.2 <my-private-registry>/nginx-ingress-operator:2.4.2
47+
docker tag quay.io/nginx/nginx-ingress-operator:3.0.0 <my-private-registry>/nginx-ingress-operator:3.0.0
4848
docker tag quay.io/brancz/kube-rbac-proxy:v0.18.0 <my-private-registry>/kube-rbac-proxy:v0.18.0
4949
```
5050

5151
2. Push the image to your private registry
5252
```shell
53-
docker push <my-private-registry>/nginx-ingress-operator:2.4.2
53+
docker push <my-private-registry>/nginx-ingress-operator:3.0.0
5454
docker push <my-private-registry>/kube-rbac-proxy:v0.18.0
5555
```
5656

5757
3. Follow step 1 above but in step 1.2 you can run
5858
```shell
59-
make deploy IMG=<my-private-registry>/nginx-ingress-operator:2.4.2 KRP_IMAGE_BASE=<my-private-registry>/kube-rbac-proxy
59+
make deploy IMG=<my-private-registry>/nginx-ingress-operator:3.0.0 KRP_IMAGE_BASE=<my-private-registry>/kube-rbac-proxy
6060
```
6161
**Note: If you need to use a different `kube-rbac-proxy` version than the default, use the `KRP_IMAGE_TAG` variable**
6262

docs/nginx-ingress-controller.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ spec:
2222
selectorLabels: {}
2323
annotations: {}
2424
nginxplus: false
25+
mgmt:
26+
licenseTokenSecretName: "license-token"
2527
nginxReloadTimeout: 60000
2628
appprotect:
2729
enable: false
@@ -43,11 +45,12 @@ spec:
4345
dnsPolicy: ClusterFirst
4446
nginxDebug: false
4547
shareProcessNamespace: false
46-
logLevel: 1
48+
logFormat: glog
49+
logLevel: info
4750
customPorts: []
4851
image:
4952
repository: nginx/nginx-ingress
50-
tag: "3.7.2-ubi"
53+
tag: "4.0.0-ubi"
5154
# digest: "sha256:CHANGEME"
5255
pullPolicy: IfNotPresent
5356
lifecycle: {}
@@ -127,7 +130,6 @@ spec:
127130
watchSecretNamespace: ""
128131
enableCustomResources: true
129132
enableOIDC: false
130-
includeYear: false
131133
enableTLSPassthrough: false
132134
tlsPassthroughPort: 443
133135
enableCertManager: false

docs/openshift-installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ Additional steps:
2323

2424
In order to deploy NGINX Ingress Controller instances into OpenShift environments, a new SCC is required to be created on the cluster which will be used to bind the specific required capabilities to the NGINX Ingress service account(s). To do so for NIC deployments, please run the following command (assuming you are logged in with administrator access to the cluster):
2525

26-
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v2.4.2/resources/scc.yaml`
26+
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v3.0.0/resources/scc.yaml`
2727

2828
Alternatively, to create an SCC for NIC daemonsets, please run this command:
2929

30-
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v2.4.2/resources/scc-daemonset.yaml`
30+
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v3.0.0/resources/scc-daemonset.yaml`
3131

3232
You can now deploy the NGINX Ingress Controller instances.

examples/deployment-oss-min/nginx-ingress-controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
image:
1212
pullPolicy: IfNotPresent
1313
repository: nginx/nginx-ingress
14-
tag: 3.7.2-ubi
14+
tag: 4.0.0-ubi
1515
ingressClass:
1616
name: nginx
1717
kind: deployment

0 commit comments

Comments
 (0)