[Backport release-1.6] fix(ingress-nginx): pick up the nginx rebuild with the CVE fixes (#5506)

## What this PR does

Hand port of #5377 and #5436 to `release-1.6`. 1.6 still runs v1.11.2
controller, and its nginx has none of the fixes these two brought to
main and v1.7.2 (HTTP/2 CVE-2026-123633 and CVE-2026-123007, plus other
nginx CVEs the controller can reach, CVE-2026-97629 among them).
Backport batch parks both on this line because they build on #4549, the
v1.11.6 bump that never comes to 1.6 (see record in #5312), so this PR
switches the controller to the same image directly:
`v1.11.6-cozystack.3@sha256:059a75d56e567cbf12b4c5df440bfa06f7ed59b7404a0efd8c74e923b340a5cc`.

Controller jumps from v1.11.2 to v1.11.6 while chart stays on 4.11.2,
this is the part to look at:

- Templates that build controller pod and its access (deployment,
daemonset, `_params.tpl`, controller ConfigMaps, Service,
ServiceAccount, Roles, ClusterRoles and bindings) are identical between
4.11.2 here and 4.11.6 on release-1.7, where this image already runs.
Rest of template diff is ServiceMonitor, default backend and templated
webhook port (default stays 443, this package doesn't override it), plus
one comment and a renamed PrometheusRule file. `helm template` of the
package differs from line tip only in controller image line, both for
root ingress and for tenant ingress with webhook off.
- `Chart.yaml` keeps `appVersion: 1.11.2`, so
`app.kubernetes.io/version` label on controller still says 1.11.2.
Nothing in the tree reads it and it is not in selector, fixing it means
re-vendoring 4.11.6 chart, which is too much for a patch release.
- Upstream 1.11.3 to 1.11.6 are bug fixes plus CVE-2025-1974 set in
1.11.5. #720 already put v1.11.2 build with those patches backported on
this line, so the only behaviour change among them (admission webhook no
longer tests generated nginx config) is not new here.
- Segfault of the first v1.11.5 rebuild (#4012, the reason #4017 skipped
this line) is fixed in the fork by
cozystack/ingress-nginx-with-protobuf-exporter#7, which is an ancestor
of `v1.11.6-cozystack.3` tag.
- protobuf-exporter sidecar stays at v1.11.2. Main bumps it together
with controller, but `pbmetrics.lua` and template hooks calling it are
identical between fork `v1.11.2` and `v1.11.6-cozystack.3`, exporter
only changed how it is built (multi-arch, Go version).

No merge order needed, release-1.7 has this image since v1.7.2.

### Testing

- Tag resolves to pinned digest, an index with linux/amd64 and
linux/arm64.
- `helm unittest --with-subchart=false packages/system/ingress-nginx`
passes 2 of 2. Vendored upstream chart suites fail 5 of 76 on this line
with or without the change, package has no `test` target here so CI
doesn't run them.
- `make unit-tests` passes.
- [Live check on
v1.6.5](https://github.com/cozystack/cozystack/pull/5377#issuecomment-7086384344)
swapped only controller image to `cozystack.1` on stock 1.6 chart:
rolling update under HTTP/2 load, `nginx -t`, admission webhook server
dry-run, no restarts. `cozystack.3` itself was not run on a 1.6 cluster,
on 1.7 it runs since v1.7.2.

### Screenshots

N/A, no UI changes.

### Downstream repositories

Walked the trigger map against the diff: an image tag and digest in
`packages/system/ingress-nginx/values.yaml`. No package, values key,
schema or app README changes.

- [x] No downstream repository is affected by this change
- [ ] [cozystack/website](https://github.com/cozystack/website) -
follow-up:
- [ ]
[cozystack/terraform-provider-cozystack](https://github.com/cozystack/terraform-provider-cozystack)
- follow-up:
- [ ]
[cozystack/ansible-cozystack](https://github.com/cozystack/ansible-cozystack)
- follow-up:
- [ ] [cozystack/ccp](https://github.com/cozystack/ccp) - follow-up:
- [ ] [cozystack/talm](https://github.com/cozystack/talm) - follow-up:
- [ ] [cozystack/cozyhr](https://github.com/cozystack/cozyhr) -
follow-up:
- [ ] [cozystack/cozy-proxy](https://github.com/cozystack/cozy-proxy) -
follow-up:
- [ ]
[cozystack/cozystack-telemetry-server](https://github.com/cozystack/cozystack-telemetry-server)
- follow-up:
- [ ]
[cozystack/external-apps-example](https://github.com/cozystack/external-apps-example)
- follow-up:
- [ ] [cozystack/examples](https://github.com/cozystack/examples) -
follow-up:

### Release note

```release-note
fix(ingress-nginx): the ingress-nginx controller moves to v1.11.6-cozystack.3, nginx 1.25.5 rebuilt with the fixes for CVE-2026-123633, CVE-2026-123007 and the other nginx CVEs the controller can reach. The controller goes from v1.11.2 to v1.11.6 and its pods roll on upgrade. nginx still reports version 1.25.5, so scanners that match on the version will keep flagging it. From this release, upgrade to v1.7.2 or later: v1.7.0 and v1.7.1 run a controller build without these fixes.
```
This commit is contained in:
Aleksei Sviridkin authored and GitHub committed 2026-11-30 17:08:11 +03:00
commit d314cdb428
1 file changed
+2 -2
+2 -2
View File
@@ -5,8 +5,8 @@ ingress-nginx:
image:
registry: ghcr.io
image: cozystack/ingress-nginx-with-protobuf-exporter/controller
tag: v1.11.2
digest: sha256:beba8869ee370599e1f26557a9669ebdc9481c07b34059f348eb3e17b647e7e0
tag: v1.11.6-cozystack.3
digest: sha256:059a75d56e567cbf12b4c5df440bfa06f7ed59b7404a0efd8c74e923b340a5cc
allowSnippetAnnotations: true
replicaCount: 2
admissionWebhooks: