Skip to content

Commit

Permalink
Update NGINX Ingress Controller to 3.5.0 (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
nginx-bot committed Mar 26, 2024
1 parent 880cc03 commit 9a168a5
Show file tree
Hide file tree
Showing 24 changed files with 624 additions and 146 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= 2.1.2
VERSION ?= 2.2.0

# CHANNELS define the bundle channels used in the bundle.
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
Expand Down Expand Up @@ -49,7 +49,7 @@ endif

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

# Image URL to use all building/pushing image targets
IMG ?= $(IMAGE_TAG_BASE):$(VERSION)
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ The following table shows the relation between the versions of the two projects:

| NGINX Ingress Controller | NGINX Ingress Operator |
| ------------------------ | ---------------------- |
| 3.5.x | 2.2.0 |
| 3.4.x | 2.1.2 |
| 3.3.x | 2.0.2 |
| 3.2.x | 1.5.2 |
Expand Down Expand Up @@ -73,7 +74,7 @@ See [upgrade docs](./docs/upgrades.md)

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

The latest stable release is [2.1.2](https://github.com/nginxinc/nginx-ingress-helm-operator/releases/tag/v2.1.2). For production use, we recommend that you choose the latest stable release.
The latest stable release is [2.2.0](https://github.com/nginxinc/nginx-ingress-helm-operator/releases/tag/v2.2.0). For production use, we recommend that you choose the latest stable release.

## Development

Expand Down
2 changes: 1 addition & 1 deletion bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=nginx-ingress-operator
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.33.0
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.34.1
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ metadata:
"image": {
"pullPolicy": "IfNotPresent",
"repository": "nginx/nginx-ingress",
"tag": "3.4.3-ubi"
"tag": "3.5.0-ubi"
},
"includeYear": false,
"ingressClass": {
Expand Down Expand Up @@ -220,12 +220,12 @@ metadata:
capabilities: Basic Install
categories: Monitoring, Networking
certified: "true"
containerImage: quay.io/nginx/nginx-ingress-operator:2.1.2
createdAt: "2024-02-19T15:22:41Z"
containerImage: quay.io/nginx/nginx-ingress-operator:2.2.0
createdAt: "2024-03-26T16:29:39Z"
description: The NGINX Ingress Operator is a Kubernetes/OpenShift component which
deploys and manages one or more NGINX/NGINX Plus Ingress Controllers
operatorframework.io/suggested-namespace: nginx-ingress
operators.operatorframework.io/builder: operator-sdk-v1.33.0
operators.operatorframework.io/builder: operator-sdk-v1.34.1
operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1
repository: https://github.com/nginxinc/nginx-ingress-helm-operator
support: NGINX Inc.
Expand All @@ -234,7 +234,7 @@ metadata:
operatorframework.io/arch.arm64: supported
operatorframework.io/arch.ppc64le: supported
operatorframework.io/arch.s390x: supported
name: nginx-ingress-operator.v2.1.2
name: nginx-ingress-operator.v2.2.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -438,7 +438,7 @@ spec:
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
- --leader-election-id=nginx-ingress-operator
image: quay.io/nginx/nginx-ingress-operator:2.1.2
image: quay.io/nginx/nginx-ingress-operator:2.2.0
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -526,7 +526,7 @@ spec:
- email: kubernetes@nginx.com
name: NGINX Inc
maturity: alpha
minKubeVersion: 1.22.0
minKubeVersion: 1.23.0
provider:
name: NGINX Inc
version: 2.1.2
version: 2.2.0
2 changes: 1 addition & 1 deletion bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ annotations:
operators.operatorframework.io.bundle.package.v1: nginx-ingress-operator
operators.operatorframework.io.bundle.channels.v1: alpha
operators.operatorframework.io.bundle.channel.default.v1: alpha
operators.operatorframework.io.metrics.builder: operator-sdk-v1.33.0
operators.operatorframework.io.metrics.builder: operator-sdk-v1.34.1
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1

Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/nginx/nginx-ingress-operator
newTag: 2.1.2
newTag: 2.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
capabilities: Basic Install
categories: Monitoring, Networking
certified: "true"
containerImage: quay.io/nginx/nginx-ingress-operator:2.1.2
containerImage: quay.io/nginx/nginx-ingress-operator:2.2.0
createdAt: placeholder
description: The NGINX Ingress Operator is a Kubernetes/OpenShift component which
deploys and manages one or more NGINX/NGINX Plus Ingress Controllers
Expand Down Expand Up @@ -175,7 +175,7 @@ spec:
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
- --leader-election-id=nginx-ingress-operator
image: quay.io/nginx/nginx-ingress-operator:2.1.2
image: quay.io/nginx/nginx-ingress-operator:2.2.0
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -278,7 +278,7 @@ spec:
- email: kubernetes@nginx.com
name: NGINX Inc
maturity: alpha
minKubeVersion: 1.22.0
minKubeVersion: 1.23.0
provider:
name: NGINX Inc
version: 2.1.2
version: 2.2.0
2 changes: 1 addition & 1 deletion config/samples/charts_v1alpha1_nginxingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
customPorts: []
image:
repository: nginx/nginx-ingress
tag: "3.4.3-ubi"
tag: "3.5.0-ubi"
# digest: "sha256:CHANGEME"
pullPolicy: IfNotPresent
lifecycle: {}
Expand Down
8 changes: 4 additions & 4 deletions docs/manual-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ This will deploy the operator in the `nginx-ingress-operator-system` namespace.
1. Clone the `nginx-ingress-operator` repo:

```shell
git clone https://github.com/nginxinc/nginx-ingress-helm-operator/ --branch v2.1.2
git clone https://github.com/nginxinc/nginx-ingress-helm-operator/ --branch v2.2.0
cd nginx-ingress-helm-operator/
```

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

```shell
make deploy IMG=nginx/nginx-ingress-operator:2.1.2
make deploy IMG=nginx/nginx-ingress-operator:2.2.0
```

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

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):

`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v2.1.2/resources/scc.yaml`
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v2.2.0/resources/scc.yaml`

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

`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v2.1.2/resources/scc-daemonset.yaml`
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v2.2.0/resources/scc-daemonset.yaml`

You can now deploy the NGINX Ingress Controller instances.

Expand Down
2 changes: 1 addition & 1 deletion docs/nginx-ingress-controller.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
customPorts: []
image:
repository: nginx/nginx-ingress
tag: "3.4.3-ubi"
tag: "3.5.0-ubi"
# digest: "sha256:CHANGEME"
pullPolicy: IfNotPresent
lifecycle: {}
Expand Down
4 changes: 2 additions & 2 deletions docs/openshift-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ Additional steps:

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):

`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v2.1.2/resources/scc.yaml`
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v2.2.0/resources/scc.yaml`

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

`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v2.1.2/resources/scc-daemonset.yaml`
`kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-ingress-helm-operator/v2.2.0/resources/scc-daemonset.yaml`

You can now deploy the NGINX Ingress Controller instances.
2 changes: 1 addition & 1 deletion examples/deployment-oss-min/nginx-ingress-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
image:
pullPolicy: IfNotPresent
repository: nginx/nginx-ingress
tag: 3.4.3-ubi
tag: 3.5.0-ubi
ingressClass:
name: nginx
kind: deployment
Expand Down
2 changes: 1 addition & 1 deletion examples/deployment-plus-min/nginx-ingress-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
image:
pullPolicy: IfNotPresent
repository: nginx/nginx-ingress
tag: 3.4.3-ubi
tag: 3.5.0-ubi
ingressClass:
name: nginx
kind: deployment
Expand Down
10 changes: 5 additions & 5 deletions helm-charts/nginx-ingress/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
apiVersion: v2
appVersion: 3.4.3
appVersion: 3.5.0
description: NGINX Ingress Controller
home: https://github.com/nginxinc/kubernetes-ingress
icon: https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/v3.4.3/charts/nginx-ingress/chart-icon.png
icon: https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/v3.5.0/charts/nginx-ingress/chart-icon.png
keywords:
- ingress
- nginx
kubeVersion: '>= 1.22.0-0'
kubeVersion: '>= 1.23.0-0'
maintainers:
- email: kubernetes@nginx.com
name: nginxinc
name: nginx-ingress
sources:
- https://github.com/nginxinc/kubernetes-ingress/tree/v3.4.3/charts/nginx-ingress
- https://github.com/nginxinc/kubernetes-ingress/tree/v3.5.0/charts/nginx-ingress
type: application
version: 1.1.3
version: 1.2.0
Loading

0 comments on commit 9a168a5

Please sign in to comment.