Skip to content

Commit d134c8c

Browse files
committed
Update NGINX Ingress Controller to 5.0.0
1 parent e822830 commit d134c8c

File tree

1,237 files changed

+2793
-2673
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,237 files changed

+2793
-2673
lines changed

Makefile

+2-2
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 ?= 3.0.1
6+
VERSION ?= 3.1.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")
@@ -49,7 +49,7 @@ endif
4949

5050
# Set the Operator SDK version to use. By default, what is installed on the system is used.
5151
# This is useful for CI or a project to utilize a specific version of the operator-sdk toolkit.
52-
OPERATOR_SDK_VERSION ?= v1.39.1
52+
OPERATOR_SDK_VERSION ?= v1.39.2
5353

5454
# Image URL to use all building/pushing image targets
5555
IMG ?= $(IMAGE_TAG_BASE):$(VERSION)

README.md

+2-1
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+
| 5.0.x | 3.1.0 |
2021
| 4.0.x | 3.0.1 |
2122
| 3.7.x | 2.4.2 |
2223
| 3.6.x | 2.3.2 |
@@ -77,7 +78,7 @@ See [upgrade docs](./docs/upgrades.md)
7778

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

80-
The latest stable release is [3.0.1](https://github.com/nginxinc/nginx-ingress-helm-operator/releases/tag/v3.0.1). For production use, we recommend that you choose the latest stable release.
81+
The latest stable release is [3.1.0](https://github.com/nginxinc/nginx-ingress-helm-operator/releases/tag/v3.1.0). For production use, we recommend that you choose the latest stable release.
8182

8283
## Development
8384

bundle.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
77
LABEL operators.operatorframework.io.bundle.package.v1=nginx-ingress-operator
88
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
99
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
10-
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.39.1
10+
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.39.2
1111
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
1212
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1
1313

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

+7-7
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ metadata:
7777
"image": {
7878
"pullPolicy": "IfNotPresent",
7979
"repository": "nginx/nginx-ingress",
80-
"tag": "4.0.1-ubi"
80+
"tag": "5.0.0-ubi"
8181
},
8282
"ingressClass": {
8383
"create": true,
@@ -223,8 +223,8 @@ metadata:
223223
capabilities: Basic Install
224224
categories: Monitoring, Networking
225225
certified: "true"
226-
containerImage: quay.io/nginx/nginx-ingress-operator:3.0.1
227-
createdAt: "2025-02-07T12:50:48Z"
226+
containerImage: quay.io/nginx/nginx-ingress-operator:3.1.0
227+
createdAt: "2025-04-16T14:53:55Z"
228228
description: The NGINX Ingress Operator is a Kubernetes/OpenShift component which
229229
deploys and manages one or more NGINX/NGINX Plus Ingress Controllers
230230
features.operators.openshift.io/cnf: "false"
@@ -238,7 +238,7 @@ metadata:
238238
features.operators.openshift.io/token-auth-azure: "false"
239239
features.operators.openshift.io/token-auth-gcp: "false"
240240
operatorframework.io/suggested-namespace: nginx-ingress
241-
operators.operatorframework.io/builder: operator-sdk-v1.39.1
241+
operators.operatorframework.io/builder: operator-sdk-v1.39.2
242242
operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1
243243
repository: https://github.com/nginxinc/nginx-ingress-helm-operator
244244
support: NGINX Inc.
@@ -247,7 +247,7 @@ metadata:
247247
operatorframework.io/arch.arm64: supported
248248
operatorframework.io/arch.ppc64le: supported
249249
operatorframework.io/arch.s390x: supported
250-
name: nginx-ingress-operator.v3.0.1
250+
name: nginx-ingress-operator.v3.1.0
251251
namespace: placeholder
252252
spec:
253253
apiservicedefinitions: {}
@@ -470,7 +470,7 @@ spec:
470470
- --metrics-bind-address=127.0.0.1:8080
471471
- --leader-elect
472472
- --leader-election-id=nginx-ingress-operator
473-
image: quay.io/nginx/nginx-ingress-operator:3.0.1
473+
image: quay.io/nginx/nginx-ingress-operator:3.1.0
474474
livenessProbe:
475475
httpGet:
476476
path: /healthz
@@ -527,4 +527,4 @@ spec:
527527
minKubeVersion: 1.26.0
528528
provider:
529529
name: NGINX Inc
530-
version: 3.0.1
530+
version: 3.1.0

bundle/metadata/annotations.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ annotations:
66
operators.operatorframework.io.bundle.package.v1: nginx-ingress-operator
77
operators.operatorframework.io.bundle.channels.v1: alpha
88
operators.operatorframework.io.bundle.channel.default.v1: alpha
9-
operators.operatorframework.io.metrics.builder: operator-sdk-v1.39.1
9+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.39.2
1010
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
1111
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1
1212

bundle/tests/scorecard/config.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ stages:
88
- entrypoint:
99
- scorecard-test
1010
- basic-check-spec
11-
image: quay.io/operator-framework/scorecard-test:v1.39.1
11+
image: quay.io/operator-framework/scorecard-test:v1.39.2
1212
labels:
1313
suite: basic
1414
test: basic-check-spec-test
@@ -18,7 +18,7 @@ stages:
1818
- entrypoint:
1919
- scorecard-test
2020
- olm-bundle-validation
21-
image: quay.io/operator-framework/scorecard-test:v1.39.1
21+
image: quay.io/operator-framework/scorecard-test:v1.39.2
2222
labels:
2323
suite: olm
2424
test: olm-bundle-validation-test
@@ -28,7 +28,7 @@ stages:
2828
- entrypoint:
2929
- scorecard-test
3030
- olm-crds-have-validation
31-
image: quay.io/operator-framework/scorecard-test:v1.39.1
31+
image: quay.io/operator-framework/scorecard-test:v1.39.2
3232
labels:
3333
suite: olm
3434
test: olm-crds-have-validation-test
@@ -38,7 +38,7 @@ stages:
3838
- entrypoint:
3939
- scorecard-test
4040
- olm-crds-have-resources
41-
image: quay.io/operator-framework/scorecard-test:v1.39.1
41+
image: quay.io/operator-framework/scorecard-test:v1.39.2
4242
labels:
4343
suite: olm
4444
test: olm-crds-have-resources-test
@@ -48,7 +48,7 @@ stages:
4848
- entrypoint:
4949
- scorecard-test
5050
- olm-spec-descriptors
51-
image: quay.io/operator-framework/scorecard-test:v1.39.1
51+
image: quay.io/operator-framework/scorecard-test:v1.39.2
5252
labels:
5353
suite: olm
5454
test: olm-spec-descriptors-test
@@ -58,7 +58,7 @@ stages:
5858
- entrypoint:
5959
- scorecard-test
6060
- olm-status-descriptors
61-
image: quay.io/operator-framework/scorecard-test:v1.39.1
61+
image: quay.io/operator-framework/scorecard-test:v1.39.2
6262
labels:
6363
suite: olm
6464
test: olm-status-descriptors-test

config/manager/kustomization.yaml

+1-1
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: 3.0.1
8+
newTag: 3.1.0

config/manifests/bases/kustomization.yaml

+1-1
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:3.0.1
6+
containerImage: quay.io/nginx/nginx-ingress-operator:3.1.0

config/samples/charts_v1alpha1_nginxingress.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
customPorts: []
3939
image:
4040
repository: nginx/nginx-ingress
41-
tag: "4.0.1-ubi"
41+
tag: "5.0.0-ubi"
4242
# digest: "sha256:CHANGEME"
4343
pullPolicy: IfNotPresent
4444
lifecycle: {}

config/scorecard/patches/basic.config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
entrypoint:
55
- scorecard-test
66
- basic-check-spec
7-
image: quay.io/operator-framework/scorecard-test:v1.39.1
7+
image: quay.io/operator-framework/scorecard-test:v1.39.2
88
labels:
99
suite: basic
1010
test: basic-check-spec-test

config/scorecard/patches/olm.config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
entrypoint:
55
- scorecard-test
66
- olm-bundle-validation
7-
image: quay.io/operator-framework/scorecard-test:v1.39.1
7+
image: quay.io/operator-framework/scorecard-test:v1.39.2
88
labels:
99
suite: olm
1010
test: olm-bundle-validation-test
@@ -14,7 +14,7 @@
1414
entrypoint:
1515
- scorecard-test
1616
- olm-crds-have-validation
17-
image: quay.io/operator-framework/scorecard-test:v1.39.1
17+
image: quay.io/operator-framework/scorecard-test:v1.39.2
1818
labels:
1919
suite: olm
2020
test: olm-crds-have-validation-test
@@ -24,7 +24,7 @@
2424
entrypoint:
2525
- scorecard-test
2626
- olm-crds-have-resources
27-
image: quay.io/operator-framework/scorecard-test:v1.39.1
27+
image: quay.io/operator-framework/scorecard-test:v1.39.2
2828
labels:
2929
suite: olm
3030
test: olm-crds-have-resources-test
@@ -34,7 +34,7 @@
3434
entrypoint:
3535
- scorecard-test
3636
- olm-spec-descriptors
37-
image: quay.io/operator-framework/scorecard-test:v1.39.1
37+
image: quay.io/operator-framework/scorecard-test:v1.39.2
3838
labels:
3939
suite: olm
4040
test: olm-spec-descriptors-test
@@ -44,7 +44,7 @@
4444
entrypoint:
4545
- scorecard-test
4646
- olm-status-descriptors
47-
image: quay.io/operator-framework/scorecard-test:v1.39.1
47+
image: quay.io/operator-framework/scorecard-test:v1.39.2
4848
labels:
4949
suite: olm
5050
test: olm-status-descriptors-test

docs/manual-installation.md

+7-7
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 v3.0.1
10+
git clone https://github.com/nginxinc/nginx-ingress-helm-operator/ --branch v3.1.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:3.0.1
17+
make deploy IMG=nginx/nginx-ingress-operator:3.1.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/v3.0.1/resources/scc.yaml`
33+
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v3.1.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/v3.0.1/resources/scc-daemonset.yaml`
37+
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v3.1.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:3.0.1 <my-private-registry>/nginx-ingress-operator:3.0.1
47+
docker tag quay.io/nginx/nginx-ingress-operator:3.1.0 <my-private-registry>/nginx-ingress-operator:3.1.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:3.0.1
53+
docker push <my-private-registry>/nginx-ingress-operator:3.1.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:3.0.1 KRP_IMAGE_BASE=<my-private-registry>/kube-rbac-proxy
59+
make deploy IMG=<my-private-registry>/nginx-ingress-operator:3.1.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

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ spec:
5050
customPorts: []
5151
image:
5252
repository: nginx/nginx-ingress
53-
tag: "4.0.1-ubi"
53+
tag: "5.0.0-ubi"
5454
# digest: "sha256:CHANGEME"
5555
pullPolicy: IfNotPresent
5656
lifecycle: {}

docs/openshift-installation.md

+2-2
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/v3.0.1/resources/scc.yaml`
26+
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v3.1.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/v3.0.1/resources/scc-daemonset.yaml`
30+
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v3.1.0/resources/scc-daemonset.yaml`
3131

3232
You can now deploy the NGINX Ingress Controller instances.

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

+1-1
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: 4.0.1-ubi
14+
tag: 5.0.0-ubi
1515
ingressClass:
1616
name: nginx
1717
kind: deployment

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

+1-1
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: 4.0.1-ubi
14+
tag: 5.0.0-ubi
1515
ingressClass:
1616
name: nginx
1717
kind: deployment

helm-charts/nginx-ingress/Chart.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
2-
appVersion: 4.0.1
2+
appVersion: 5.0.0
33
description: NGINX Ingress Controller
44
home: https://github.com/nginx/kubernetes-ingress
5-
icon: https://raw.githubusercontent.com/nginx/kubernetes-ingress/v4.0.1/charts/nginx-ingress/chart-icon.png
5+
icon: https://raw.githubusercontent.com/nginx/kubernetes-ingress/v5.0.0/charts/nginx-ingress/chart-icon.png
66
keywords:
77
- ingress
88
- nginx
@@ -12,6 +12,6 @@ maintainers:
1212
name: nginx
1313
name: nginx-ingress
1414
sources:
15-
- https://github.com/nginx/kubernetes-ingress/tree/v4.0.1/charts/nginx-ingress
15+
- https://github.com/nginx/kubernetes-ingress/tree/v5.0.0/charts/nginx-ingress
1616
type: application
17-
version: 2.0.1
17+
version: 2.1.0

helm-charts/nginx-ingress/crds/appprotectdos.f5.com_dosprotectedresources.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.1
6+
controller-gen.kubebuilder.io/version: v0.17.3
77
name: dosprotectedresources.appprotectdos.f5.com
88
spec:
99
group: appprotectdos.f5.com

helm-charts/nginx-ingress/crds/externaldns.nginx.org_dnsendpoints.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.1
6+
controller-gen.kubebuilder.io/version: v0.17.3
77
name: dnsendpoints.externaldns.nginx.org
88
spec:
99
group: externaldns.nginx.org

helm-charts/nginx-ingress/crds/k8s.nginx.org_globalconfigurations.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.1
6+
controller-gen.kubebuilder.io/version: v0.17.3
77
name: globalconfigurations.k8s.nginx.org
88
spec:
99
group: k8s.nginx.org

0 commit comments

Comments
 (0)