mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
f8fdee199b9062eaa0193ec48c89b13fc968b05e
7965
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
f8fdee199b |
chore(release): promote v1.7.3-rc.1 -> v1.7.3 (#5482)
Promotes `v1.7.3-rc.2` to stable `v1.7.3` without rebuilding containers. Their digests remain bit-for-bit what passed rc e2e; the tag-rewritten packages tree is re-serialized as a temporary OCI candidate and pinned here by digest. On merge, pull-requests-release.yaml verifies that candidate against this tree before creating the write-once `v1.7.3` tag, retagging the candidate and container digests to `v1.7.3` (+`:latest` when this is the newest stable), publishing the stable cozy-installer chart, and publishing the release. Do NOT squash-merge (decision B): the stable tag must attach to a real merge commit. ⚠️ **RC e2e gate bypassed** — this promotion did not verify green full e2e evidence for `v1.7.3-rc.2`. ℹ️ E2E already ran against the immutable rc, so this promote PR does not run E2E by default. A maintainer may add the `full-e2e` label to run the full suite again. ✅ Includes `docs/changelogs/v1.7.3.md`, which finalize uses verbatim as the published release body. ✅ Website docs PR opened/refreshed on `cozystack/website` (branch `update-docs-v1.7.3`), generated from the `release-1.7.3` staging branch. **Do NOT merge that PR until `v1.7.3` is published** — merging it early flips the site's latest-version pointer to an unpublished version and 404s its docs/API links (see the PR body).api/apps/v1alpha1/v1.7.3 v1.7.3 |
||
|
|
9afc935521 |
docs(release): list all five security fixes in the v1.7.3 changelog
v1.7.3 is promoted from rc.2, which carries four security fixes besides the monitoring one. They get the same advisory wording, with severity and no detail, and the operator notes v1.6.6 uses for them. The first-backup and SeaweedFS metadata database notes cover clusters that skip v1.7.2: its notes do not say that the first platform backup after the sidecar change fails, nor that the database restart can lose S3 writes on failover. Assisted-By: LLM Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com> |
||
|
|
02d611c5de |
Pin promoted packages artifact for v1.7.3
Signed-off-by: cozystack-ci[bot] <274107086+cozystack-ci[bot]@users.noreply.github.com> |
||
|
|
3428236298 |
Prepare release v1.7.3 (promoted from v1.7.3-rc.2)
Signed-off-by: cozystack-ci[bot] <274107086+cozystack-ci[bot]@users.noreply.github.com> |
||
|
|
4535fe9af1 |
Prepare release v1.7.3-rc.2
Signed-off-by: cozystack-ci[bot] <274107086+cozystack-ci[bot]@users.noreply.github.com> |
||
|
|
c44bded72d |
[Backport release-1.7] fix(ci): push the stable chart once, so a re-run keeps cozy-installer:X.Y.Z (#5487)
## What this PR does Port of #5486 to release-1.7, finalize runs from base branch copy of the workflow. Cherry-picked with `-x`, docs edit goes to `docs/release.md`. ### Downstream repositories - [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: - [ ] [cozystack/community](https://github.com/cozystack/community) - follow-up: ### Release note ```release-note fix(ci): a re-run of finalize no longer pushes the stable cozy-installer chart again ``` |
||
|
|
a5b1f77f10 |
fix(ci): push the stable chart once, so a re-run keeps cozy-installer:X.Y.Z
Since finalize publishes the release page last, a run that fails in Publish draft release is re-run after the chart is already pushed. The re-run packaged and pushed the chart again, and helm package does not give the same bytes twice (two packagings of the same tree with different file times give two digests), so cozy-installer:X.Y.Z moved to another digest. The chart step now pushes only when the registry answers that cozy- installer:X.Y.Z is missing, read as manifest_digest in hack/promote- retag.sh reads it; any other lookup error fails the step instead of being taken for a missing tag. cozy-installer:latest still follows the latest decision on every run. A bats test runs the step against stub skopeo, helm and yq: the first run pushes once, a re-run pushes nothing, an older patch leaves latest alone, a failed push fails the step, and a failed lookup fails it without packaging or pushing. Fixes: |
||
|
|
37ca3a9667 |
Merge commit from fork
[Backport release-1.7] security(info): do not render the tenant ServiceAccount token under OIDCv1.7.3-rc.2 |
||
|
|
4a59bae66a |
Merge commit from fork
[Backport release-1.7] fix(backups): confine Velero restore-copy to the tenant namespace subtree |
||
|
|
50fca7ee75 |
Merge commit from fork
[Backport release-1.7] fix(bucket): refuse COSI classes of another SeaweedFS instance |
||
|
|
aa76e62c5b |
Merge commit from fork
[Backport release-1.7] security(harbor): give the inner registry its own credential and port policy |
||
|
|
d845c7d6c8 |
security(info): bind the real tenant ServiceAccount without OIDC
The RoleBinding subject was built as tenant-<namespace> in namespace tenant-<namespace>, but the release namespace already starts with tenant-, so the binding did not name the tenant's own ServiceAccount. The name it did form is one another tenant can claim: a child named root of a tenant named tenant owns the ServiceAccount tenant-tenant-root, which would then be granted the token Secret of tenant-root. Bind the tenant's own ServiceAccount instead. Assisted-by: LLM Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com> Signed-off-by: Andrei Kvapil <kvapss@gmail.com> |
||
|
|
2537b58156 |
security(info): do not render the tenant ServiceAccount token under OIDC
The Info application selects the ServiceAccount token Secret for the
tenantsecrets API, and the use tier can read tenantsecrets, so the token
and the rights bound to its ServiceAccount were readable by every use
member of the tenant.
With OIDC enabled the dashboard signs in with the user's own ID token and
nothing consumes the token, so the Secret is no longer rendered. Removing
it also invalidates tokens that were already read.
Assisted-by: LLM
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit
|
||
|
|
8f3a23a78f |
[Backport release-1.7] fix(ci): publish the release only after the stable images and chart exist (#5480)
## What this PR does Port of #5169 to release-1.7. Closed-PR finalize runs from base branch copy of `pull-requests-release.yaml`, so patch releases on this line keep publishing release page before stable images and chart exist until the line has the change itself. Cherry-picked with `-x`. Differences from main: github-script stays on line's v7 pin, docs edits go to `docs/release.md` because this line doesn't have `docs/release/` pages. New contract and behaviour tests pass here and fail against current line workflow, `make unit-tests` passes. ### Downstream repositories - [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: - [ ] [cozystack/community](https://github.com/cozystack/community) - follow-up: ### Release note ```release-note fix(ci): finalize publishes the release page last, after the stable image tags and the cozy-installer chart exist, and finalizes one release at a time ``` |
||
|
|
9aae5a17b1 |
fix(ci): publish the release only after the stable images and chart exist
Finalize undrafted the release before it retagged the images and
published the cozy-installer chart, so for the length of the retag the
release page announced a version whose images and chart returned
manifest unknown. The retag took 80-95 seconds on the 1.6.x patches and
several minutes on v1.7.0. A failure in either step also left a public
release that a re-run could not repair, because the re-run looked for a
draft and found none.
Move the draft lookup and the latest decision into their own step that
runs before any registry write, hand the decision to the retag, the
chart and the release page as step outputs, and undraft last. A missing
draft now fails while no stable name exists, and a failed retag leaves
the draft in place for a re-run. The comments and docs that took the
release to be public by the time finalize pushes the stable tag now say
when it is published.
Deciding latest before the retag opens minutes in which two release PRs
merged close together would both decide they are the newest, leaving
latest on the older line on the page, the image aliases and the chart.
Finalize therefore runs one release at a time, in a concurrency group
that only release PRs join and that queues every merged release rather
than cancelling the one waiting.
The finalize bats suites run both github-script steps under node against
a stubbed API: a missing draft, an orphaned draft, an older patch after
a newer minor, and every shipped changelog's tag. A contract test fails
on a registry step allowed to fail, a publish step that runs after a
failure, a `latest` that moves without the decision, or finalize runs
that may overlap.
Assisted-by: LLM
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
(cherry picked from commit
|
||
|
|
9189218252 |
Merge commit from fork
[Backport release-1.7] security(monitoring): give Alerta a real signing key and its own admin passwordv1.7.3-rc.1 |
||
|
|
6dc7643298 |
chore(release): promote v1.7.2-rc.2 -> v1.7.2 (#5469)
Promotes `v1.7.2-rc.2` to stable `v1.7.2` without rebuilding containers. Their digests remain bit-for-bit what passed rc e2e; the tag-rewritten packages tree is re-serialized as a temporary OCI candidate and pinned here by digest. On merge, pull-requests-release.yaml verifies that candidate against this tree before creating the write-once `v1.7.2` tag, retagging the candidate and container digests to `v1.7.2` (+`:latest` when this is the newest stable), publishing the stable cozy-installer chart, and publishing the release. Do NOT squash-merge (decision B): the stable tag must attach to a real merge commit. ✅ RC full e2e was verified for `v1.7.2-rc.2` before promotion. ℹ️ E2E already ran against the immutable rc, so this promote PR does not run E2E by default. A maintainer may add the `full-e2e` label to run the full suite again. ✅ Includes `docs/changelogs/v1.7.2.md`, which finalize uses verbatim as the published release body. ✅ Website docs PR opened/refreshed on `cozystack/website` (branch `update-docs-v1.7.2`), generated from the `release-1.7.2` staging branch. **Do NOT merge that PR until `v1.7.2` is published** — merging it early flips the site's latest-version pointer to an unpublished version and 404s its docs/API links (see the PR body).v1.7.2 api/apps/v1alpha1/v1.7.2 |
||
|
|
c34dac4969 |
docs(release): add the v1.7.2 upgrade test findings to the changelog
The upgrade test from v1.7.1 to v1.7.2-rc.2 measured interruptions the generated upgrade notes did not describe, and operators plan their maintenance window from that section. It also showed that the barman-cloud sidecar CPU limit from #5280 rolls every tenant PostgreSQL with a chart ObjectStore during the upgrade, not at its next restart as the note said. The Talos note gains the talm procedure for a cluster VIP the operator's machine cannot reach, and the root tenant without ingress gets its own upgrade note, since it needs ingress.rootEnabled set by hand. Assisted-By: LLM Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com> |
||
|
|
5798d336ab |
docs: add changelog for v1.7.2
Signed-off-by: cozystack-ci[bot] <274107086+cozystack-ci[bot]@users.noreply.github.com> |
||
|
|
72df042983 |
Pin promoted packages artifact for v1.7.2
Signed-off-by: cozystack-ci[bot] <274107086+cozystack-ci[bot]@users.noreply.github.com> |
||
|
|
d53bb81312 |
Prepare release v1.7.2 (promoted from v1.7.2-rc.2)
Signed-off-by: cozystack-ci[bot] <274107086+cozystack-ci[bot]@users.noreply.github.com> |
||
|
|
b62e07dffc |
security(monitoring): pin the Alerta image by digest
The entrypoint and nginx template mounted over the image are copies of alerta-web 9.1.0 at this digest. A retagged image could carry different files, and the mounted copies would then no longer match it. Assisted-by: LLM Signed-off-by: Andrei Kvapil <kvapss@gmail.com> |
||
|
|
760cc700a4 |
security(monitoring): reset the Alerta admin password on every start
The entrypoint creates admin users only when they are missing, so an admin user created before Alerta had a password of its own keeps the Grafana password, which stays valid after an operator rotates Grafana's. The mounted entrypoint runs a step right after user creation that sets every admin user's password to ADMIN_PASSWORD, and stops the container if it fails. Assisted-by: LLM Signed-off-by: Andrei Kvapil <kvapss@gmail.com> |
||
|
|
8b0b122557 |
security(monitoring): show tenants Alerta's login apart from its keys
Tenants logged in to the Alerta UI with the Grafana credentials, the only Secret of the release they are shown. With Alerta on a password of its own, that password moves to a Secret that holds nothing but the login, listed for tenants next to Grafana's, so the signing key and the API key in the alerta Secret stay hidden. The alerta Secret is now rendered under data alone. Assisted-by: LLM Signed-off-by: Andrei Kvapil <kvapss@gmail.com> |
||
|
|
e762bf4c08 |
security(monitoring): keep Alerta credentials out of its container log
The Alerta entrypoint prints the whole environment, including the admin password and API key, and echoes the admin API keys it creates, while nginx logs the request line where Alertmanager passes the key as a query parameter. Pod logs are readable at lower tenant tiers than the credentials themselves. This line runs the upstream image, so the entrypoint and nginx template are mounted over the image's copies from a ConfigMap, changed only to drop that output and mask the parameter. Assisted-by: LLM Signed-off-by: Andrei Kvapil <kvapss@gmail.com> |
||
|
|
a64755ee90 |
fix(backups): confine Velero restore-copy to the tenant's namespace subtree
A RestoreJob with the Velero strategy took options.targetNamespace verbatim
and, for a cross-namespace copy, checked only that the namespace existed. A
tenant administrator could restore their own backup - Secrets, PVCs and data
included - into any other tenant's namespace, or overwrite an application
there. GHSA-vq9c-8j6p-r6mp / GHSA-p7mc-34g4-53vv / GHSA-4295-xcmq-8h9h.
Require the target namespace to carry the tenant.cozystack.io/<restoreJob
namespace> subtree label, the same marker the Cilium egress and
tenant-namespace delete policies already use. The target is then the
RestoreJob's own namespace or a descendant; a different tenant, a parent, a
sibling or a system namespace is refused before any Velero Restore is created.
Restore-copy within a tenant's own subtree keeps working.
Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>
(cherry picked from commit
|
||
|
|
f49d130171 |
fix(monitoring): give Alerta a real signing key and its own admin password
Alerta signs its session JWTs with SECRET_KEY, but the upstream image never
wires a real value into it: the entrypoint renders the generated key into
alertad.conf under the name SECRET (which the application never reads) and
unsets SECRET_KEY before exec, so at runtime the built-in default from
alerta.settings ("changeme") signs and verifies every token. Anyone can mint
a valid admin token without credentials.
Alerta's admin account also reused Grafana's credentials
(grafana-admin-password), and Alerta exposes the whole process environment via
/api/management/properties to any admin-scoped caller, so admin on Alerta
yielded Grafana's admin password.
Generate a strong SECRET_KEY and a dedicated admin password, persist both in
the alerta Secret so they survive upgrades and restarts, feed the key to the
application through a mounted alertad.conf under the name it actually reads,
and stop referencing grafana-admin-password. Add a unittest covering the key,
the mount and the credential decoupling.
Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
|
||
|
|
83cada8035 |
fix(harbor): roll jobservice without a surge
jobservice keeps its job log on a ReadWriteOnce volume, but the
upstream chart rolls it with the default surge. When the replacement
lands on another node it waits on the volume attach for good, and the
nested release fails as stalled. The registry credential rotation
restarts jobservice on every existing release, so the upgrade would hit
this on any multi-node cluster.
Only jobservice is changed, through a post-renderer: the chart's own
switch to Recreate also applies to the registry, which keeps its data
in S3 and should go on rolling without an outage.
Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit
|
||
|
|
58e13a689e |
security(harbor): give the inner registry its own credential and port policy
The Harbor application never set a credential for the registry that
Harbor core and jobservice talk to, so the vendored chart's published
default applied, and the registry Service accepted it from any pod the
tenant network policies let through. That bypasses Harbor's own
authorisation, quotas and audit log.
Each release now gets a random registry password with a matching
htpasswd line, kept in a Secret that stays out of the tenant-visible
allowlist and is reused across upgrades so the bcrypt salt does not
restart the registry on every reconcile. An existing installation
rotates on upgrade: core, jobservice and registry roll together because
their Secret checksums change; registry storage is untouched.
The inner chart also ships a CiliumNetworkPolicy that denies the
registry and registryctl ports to everything but core, jobservice and
trivy of the same release. A deny is needed because the tenant base
policy already allows the traffic and Cilium allow rules are additive.
Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit
|
||
|
|
49834470d9 |
Prepare release v1.7.2-rc.2
Signed-off-by: cozystack-ci[bot] <274107086+cozystack-ci[bot]@users.noreply.github.com> |
||
|
|
d096e10069 |
fix(backport): batch for release-1.7, 2026-11-26 (#5462)
## What this PR does Backports to `release-1.7` from `main`, picked by the rules of the [backport policy](https://github.com/cozystack/cozystack/blob/main/docs/release/backports.md) in merge order. A merged pull request comes as its own commits, picked with `git cherry-pick -x` so each keeps its author, message and sign-offs, and a merge commit that carries the original's merge message with a `Backported-from:` trailer naming it; a squash-merged one comes as one pick. `backport-batch verify` checks that shape. A pick listed as changed differs from the commit it came from, and its release note waits under Check these notes. A conflict or a failing check here is a [backport task](https://github.com/cozystack/cozystack/blob/main/docs/release/backport-tasks/README.md). - [#5236](https://github.com/cozystack/cozystack/pull/5236) `fix(kubernetes): include the namespace in the kubevirt-csi ClusterRole name`, 1 commit ### Parked These cannot land on `release-1.7` whole, so the batch does not pick them: each would leave part of it without effect there, or builds on a change that never reaches the line. A maintainer ports what applies as a pull request of its own, or drops the original with `backport-batch run --drop`; `backport/include` does not lift a park. - [#5232](https://github.com/cozystack/cozystack/pull/5232) `fix(clickhouse): let a running backup sidecar pick up system-bucket credentials`: builds on [#5034](https://github.com/cozystack/cozystack/pull/5034), which never reaches this line - [#5229](https://github.com/cozystack/cozystack/pull/5229) `fix(clickhouse): keep failed backup attempts out of the bucket`: builds on [#5232](https://github.com/cozystack/cozystack/pull/5232), which never reaches this line - [#5221](https://github.com/cozystack/cozystack/pull/5221) `fix(postgres): stop backup jobs from fighting over the WAL archive destination`: builds on [#5223](https://github.com/cozystack/cozystack/pull/5223), which never reaches this line - [#5227](https://github.com/cozystack/cozystack/pull/5227) `fix(mariadb): restore the dump a Backup was taken as`: builds on [#5223](https://github.com/cozystack/cozystack/pull/5223), which never reaches this line - [#5294](https://github.com/cozystack/cozystack/pull/5294) `fix(postgres): hold the WAL archive destination for backups no job tracks`: builds on [#5221](https://github.com/cozystack/cozystack/pull/5221), which never reaches this line - [#5295](https://github.com/cozystack/cozystack/pull/5295) `fix(postgres): restore from an archive with the access it was written with`: builds on [#5221](https://github.com/cozystack/cozystack/pull/5221), which never reaches this line - [#5344](https://github.com/cozystack/cozystack/pull/5344) `fix(backups): stop leaking MariaDB dumps of stuck runs and torn-down namespaces`: builds on [#5227](https://github.com/cozystack/cozystack/pull/5227), which never reaches this line - [#5375](https://github.com/cozystack/cozystack/pull/5375) `fix(kubernetes): apply addons.monitoringAgents.valuesOverride`: builds on [#5167](https://github.com/cozystack/cozystack/pull/5167), which never reaches this line - [#5224](https://github.com/cozystack/cozystack/pull/5224) `fix(clickhouse): delete the archive when its Backup is deleted`: builds on [#5227](https://github.com/cozystack/cozystack/pull/5227), [#5232](https://github.com/cozystack/cozystack/pull/5232), which never reaches this line - [#5398](https://github.com/cozystack/cozystack/pull/5398) `fix(cluster-api): name the kubeconfig the upgrade hook runs with`: builds on [#4902](https://github.com/cozystack/cozystack/pull/4902), which never reaches this line - [#5415](https://github.com/cozystack/cozystack/pull/5415) `fix(clickhouse): keep a quota-held archive delete and count a failed one once`: builds on [#5224](https://github.com/cozystack/cozystack/pull/5224), which never reaches this line - [#5049](https://github.com/cozystack/cozystack/pull/5049) `fix(kubernetes): bump tenant worker Talos to v1.13.12 (CVE-2026-99999)`: builds on [#4802](https://github.com/cozystack/cozystack/pull/4802), [#5191](https://github.com/cozystack/cozystack/pull/5191), [#5393](https://github.com/cozystack/cozystack/pull/5393), which never reaches this line - [#5426](https://github.com/cozystack/cozystack/pull/5426) `fix(seaweedfs): stop reserving storage pool name suffixes`: builds on [#5050](https://github.com/cozystack/cozystack/pull/5050), [#5252](https://github.com/cozystack/cozystack/pull/5252), which never reaches this line - [#5427](https://github.com/cozystack/cozystack/pull/5427) `fix(kubernetes): stop refusing extraOutputs hooks monitoring-agents accepts`: builds on [#5376](https://github.com/cozystack/cozystack/pull/5376), which never reaches this line - [#5320](https://github.com/cozystack/cozystack/pull/5320) `fix(postgres): bound a backup whose cnpg Backup stalls in pending`: builds on [#5221](https://github.com/cozystack/cozystack/pull/5221), which never reaches this line ### Maintainer overrides - [#5025](https://github.com/cozystack/cozystack/pull/5025) `test(harbor): pin the resources of the nginx proxy and the portal`: `backport/include`, skipped by rule 1, `its 2 commits picked, the last in 9342e077118f` - [#4985](https://github.com/cozystack/cozystack/pull/4985) `fix(etcd): stop counting canceled watch streams as failed gRPC requests`: `backport/include`, skipped by rule 1, `its 1 commit picked, the last in 38e408917936` - [#5005](https://github.com/cozystack/cozystack/pull/5005) `fix(tcp-balancer): cap HAProxy fds and threads by the pod's own limits`: `backport/include`, skipped by rule 1, `its 1 commit picked, the last in 7a3d0b0a5559` - [#5083](https://github.com/cozystack/cozystack/pull/5083) `fix(workloadmonitor): stop doubling the bucket- prefix in bucket Workload names`: `backport/skip`, left out - [#4973](https://github.com/cozystack/cozystack/pull/4973) `fix(kubernetes-nodes): refuse a partial resources spec on every pool`: `backport/skip`, left out - [#5180](https://github.com/cozystack/cozystack/pull/5180) `fix(tests): keep two unit tests green after the release image restamp`: `backport/skip`, left out - [#4993](https://github.com/cozystack/cozystack/pull/4993) `feat(monitoring): alert when pods of one workload share a node`: `backport/include`, skipped by rule 1, `its 1 commit picked, the last in 9b1c3b5737be` - [#5352](https://github.com/cozystack/cozystack/pull/5352) `docs(gateway): stop saying the route-hostname policy admits hostname-less routes`: `backport/include`, skipped by rule 1, `its 1 commit picked, the last in f6c5ec852737` - [#4990](https://github.com/cozystack/cozystack/pull/4990) `fix(redis, valkey, harbor): spread sentinels and data pods over nodes`: `backport/skip`, left out - [#4989](https://github.com/cozystack/cozystack/pull/4989) `fix(monitoring): spread monitoring replicas over nodes`: `backport/skip`, left out - [#5393](https://github.com/cozystack/cozystack/pull/5393) `fix(kubernetes-nodes): label worker disks with the WorkloadMonitor selector`: `backport/skip`, left out - [#4817](https://github.com/cozystack/cozystack/pull/4817) `feat(kubernetes): give each tenant Kubernetes cluster its own etcd`: `backport/skip`, left out - [#5407](https://github.com/cozystack/cozystack/pull/5407) `fix(ingress-nginx): turn off TLS session tickets for CVE-2026-97629`: `backport/include`, skipped by rule 1, `its 1 commit picked, the last in 98ced7da4260` - [#5156](https://github.com/cozystack/cozystack/pull/5156) `fix(kafka)!: require SCRAM-SHA-512 on the external listener`: `backport/skip`, left out - [#5186](https://github.com/cozystack/cozystack/pull/5186) `ci(workflows): run push and schedule workflows only in cozystack/cozystack`: `backport/skip`, left out - [#4921](https://github.com/cozystack/cozystack/pull/4921) `feat(api): add the credentials API with mint and revoke subresources`: `backport/skip`, left out - [#5163](https://github.com/cozystack/cozystack/pull/5163) `docs(release): add the v1.7.0 release notes`: `backport/skip`, left out - [#5337](https://github.com/cozystack/cozystack/pull/5337) `feat(kubernetes): run tenant clusters inside a cozyplane VPC`: `backport/skip`, left out ### Skipped - Rule 1, already on `release-1.7`: 112 - Rule 2, the title type is not `fix` or `security`, or the scope is `deps`: 90 - Rule 3, a breaking change: 8 - Rule 4, touches platform migrations, `targetVersion` or a CRD, or makes a sizeable API change: 4 - Dropped from `release-1.7` by a maintainer: 1 <details><summary>Rule 1, already on `release-1.7`</summary> - [#4815](https://github.com/cozystack/cozystack/pull/4815) `fix(vm-disk): name the importer error in the disk's WorkloadsReady message`, `its 2 commits picked, the last in 432336387019` - [#4756](https://github.com/cozystack/cozystack/pull/4756) `fix(backupstrategy-controller): run backup clients on a package-owned image`, `its 2 commits picked, the last in 4643366734f8` - [#4293](https://github.com/cozystack/cozystack/pull/4293) `fix(fluxcd): keep Helm uninstall working during flux-plunger recovery`, `its 1 commit picked, the last in 021040795b22` - [#4791](https://github.com/cozystack/cozystack/pull/4791) `fix(kubernetes): keep NFS publish from hanging on a dead server`, `its 1 commit picked, the last in fa88bd1c4902` - [#4830](https://github.com/cozystack/cozystack/pull/4830) `fix(multus): drop the CPU limit and make resources configurable`, `its 2 commits picked, the last in 363c8426bab7` - [#4865](https://github.com/cozystack/cozystack/pull/4865) `fix(kafka): pass the container limits to the Kafka JVMs`, `its 3 commits picked, the last in fc38a540c02f` - [#4866](https://github.com/cozystack/cozystack/pull/4866) `fix(linstor): mark volumes restored from a snapshot DRBD-initialized`, `its 1 commit picked, the last in f9550b71cc24` - [#4867](https://github.com/cozystack/cozystack/pull/4867) `fix(e2e): keep chainsaw asserts polling through transient API errors`, `its 1 commit picked, the last in df75adc11cfa` - [#4819](https://github.com/cozystack/cozystack/pull/4819) `fix(seaweedfs): build SeaweedFS in-tree with a bounded S3 read-ahead`, `its 5 commits picked, the last in 7f4c3463d2a9` - [#3427](https://github.com/cozystack/cozystack/pull/3427) `fix(backups): prepare standalone VMDisk restore targets and add VM backup/restore e2e round-trips`, `its 3 commits picked, the last in 4ac0cd581481` - [#4889](https://github.com/cozystack/cozystack/pull/4889) `fix(monitoring): send alerts to every Alertmanager replica`, `its 1 commit picked, the last in 5033d53410ba` - [#4929](https://github.com/cozystack/cozystack/pull/4929) `fix(backups): gate every default Strategy CR on its CRD`, `its 2 commits picked, the last in dee1eef5590b` - [#4914](https://github.com/cozystack/cozystack/pull/4914) `fix(fluxcd): close the flux-plunger review follow-ups for the hook, drain and Warnings`, `its 7 commits picked, the last in a8e491646a06` - [#4888](https://github.com/cozystack/cozystack/pull/4888) `fix(ci): dispatch frozen-line builds with GITHUB_TOKEN`, `its 1 commit picked, the last in bf81e2d9db22` - [#4939](https://github.com/cozystack/cozystack/pull/4939) `fix(cluster-api): resync capi-operator every minute`, `its 1 commit picked, the last in cc8d6a4f05a0` - [#5027](https://github.com/cozystack/cozystack/pull/5027) `fix(hack): keep the backup stack in the vminstance selective install`, `its 1 commit picked, the last in 8ba8386a2e5c` - [#4955](https://github.com/cozystack/cozystack/pull/4955) `fix(vm-disk): let CDI adopt the PVC a Velero restore recreates`, `its 2 commits picked, the last in 691d7bce038e` - [#5025](https://github.com/cozystack/cozystack/pull/5025) `test(harbor): pin the resources of the nginx proxy and the portal`, `its 2 commits picked, the last in 9342e077118f` - [#4985](https://github.com/cozystack/cozystack/pull/4985) `fix(etcd): stop counting canceled watch streams as failed gRPC requests`, `its 1 commit picked, the last in 38e408917936` - [#5005](https://github.com/cozystack/cozystack/pull/5005) `fix(tcp-balancer): cap HAProxy fds and threads by the pod's own limits`, `its 1 commit picked, the last in 7a3d0b0a5559` - [#5071](https://github.com/cozystack/cozystack/pull/5071) `fix(marketplace): do not install a connected repository's components on connect`, `its 2 commits picked, the last in 25f8f11187b9` - [#5086](https://github.com/cozystack/cozystack/pull/5086) `fix(tenant): stop the gateway release waiting on TenantGateway listeners and certificates`, `its 1 commit picked, the last in 18b22495038b` - [#5087](https://github.com/cozystack/cozystack/pull/5087) `fix(controller): carry healthCheckExprs and waitStrategy to existing releases`, `its 1 commit picked, the last in d2a452e89067` - [#5088](https://github.com/cozystack/cozystack/pull/5088) `fix(ingress-nginx): drop the admission-webhook policy a rebase brought back`, `its 1 commit picked, the last in cf00b41e0e9a` - [#5142](https://github.com/cozystack/cozystack/pull/5142) `fix(release): keep release bodies within GitHub's size limit`, `its 1 commit picked, the last in c7405158634e` - [#4917](https://github.com/cozystack/cozystack/pull/4917) `fix(kubernetes): run Proxmox CCM v0.16.1 and pin the Proxmox images by digest`, `its 2 commits picked, the last in 8ff6dcacd3b5` - [#4974](https://github.com/cozystack/cozystack/pull/4974) `fix(kubernetes-nodes): plan autoscaler capacity on the cores the VM actually gets`, `its 1 commit picked, the last in d68a163c2d86` - [#4971](https://github.com/cozystack/cozystack/pull/4971) `fix(e2e): keep the Proxmox tenant kubeconfig per run and remove it`, `its 2 commits picked, the last in 77227c55e9d6` - [#4970](https://github.com/cozystack/cozystack/pull/4970) `fix(e2e): read the KubernetesNodes pool release in the HelmRelease guard`, `its 3 commits picked, the last in 6b17a76ef6cb` - [#4972](https://github.com/cozystack/cozystack/pull/4972) `fix(e2e): validate the leak allowlist against every suite layout`, `its 3 commits picked, the last in 7ec550b7b81f` - [#5082](https://github.com/cozystack/cozystack/pull/5082) `fix(marketplace): pin a tapped repository to a digest instead of a mutable tag`, `its 15 commits picked, the last in 9cff86f85124` - [#4004](https://github.com/cozystack/cozystack/pull/4004) `fix(dashboard): link a tenant row to its detail page`, `its 2 commits picked, the last in bd5e0b5e88b3` - [#5212](https://github.com/cozystack/cozystack/pull/5212) `fix(cilium): pass the CiliumNode list to jq on stdin in the IPAM hook`, `its 1 commit picked, the last in b28a2e228160` - [#5213](https://github.com/cozystack/cozystack/pull/5213) `fix(kubernetes): move the OIDC users out of the bootstrap Job's script`, `its 1 commit picked, the last in 02dd8e5454f8` - [#5208](https://github.com/cozystack/cozystack/pull/5208) `fix(clickhouse): restore the archive a Backup was taken as`, `its 3 commits picked, the last in 9ded5c5fc356` - [#5230](https://github.com/cozystack/cozystack/pull/5230) `fix(backups): re-render the default backup objects when the S3 endpoint changes`, `its 8 commits picked, the last in 490eab5b9aba` - [#5133](https://github.com/cozystack/cozystack/pull/5133) `fix(securitygroups): project a membership-only group to a policy Cilium accepts`, `its 1 commit picked, the last in b7c50a5e070f` - [#5091](https://github.com/cozystack/cozystack/pull/5091) `fix(postgres): render the declared databases in a stable order`, `its 1 commit picked, the last in b658dffe7c31` - [#5123](https://github.com/cozystack/cozystack/pull/5123) `fix(mariadb-operator): derive the cluster name from the platform domain`, `its 2 commits picked, the last in 17702dd57bab` - [#5151](https://github.com/cozystack/cozystack/pull/5151) `fix(redis): run one Sentinel when Redis runs a single pod`, `its 5 commits picked, the last in 5524a41b8586` - [#5124](https://github.com/cozystack/cozystack/pull/5124) `fix(lineage, kubernetes): resolve CAPK node VMs to their cluster`, `its 2 commits picked, the last in c90856088aff` - [#5184](https://github.com/cozystack/cozystack/pull/5184) `fix(api): read pool usage under the quota key the controller counts`, `its 1 commit picked, the last in 18c17af8d50f` - [#5190](https://github.com/cozystack/cozystack/pull/5190) `fix(platform): remove the dead registries value and patch-containerd Secret`, `its 2 commits picked, the last in 617f88943895` - [#5211](https://github.com/cozystack/cozystack/pull/5211) `fix(postgres): fail a backup job as soon as its cnpg Backup fails`, `its 1 commit picked, the last in 6645e21b9e0a` - [#5155](https://github.com/cozystack/cozystack/pull/5155) `fix(postgres): refuse system databases and never drop them`, `its 1 commit picked, the last in 6f1bb80f8004` - [#5207](https://github.com/cozystack/cozystack/pull/5207) `fix(mariadb): fail backup and restore jobs whose operator Job failed`, `its 5 commits picked, the last in ef3de554b99f` - [#5024](https://github.com/cozystack/cozystack/pull/5024) `fix(kubernetes, monitoring): send tenant cluster metrics to the tenant's vminsert`, `its 1 commit picked, the last in 423a75bb31db` - [#5284](https://github.com/cozystack/cozystack/pull/5284) `fix(seaweedfs): bump the COSI driver to v0.4.0 for the lost-grant fix`, `its 1 commit picked, the last in ffb38805ff71` - [#5226](https://github.com/cozystack/cozystack/pull/5226) `fix(platform): leave tenant-root's ingress empty when the root tenant has none`, `its 5 commits picked, the last in c8b2877b7ffb` - [#5228](https://github.com/cozystack/cozystack/pull/5228) `fix(seaweedfs): enforce S3 bucket lifecycle rules`, `its 14 commits picked, the last in 48aa4188b4be` - [#5152](https://github.com/cozystack/cozystack/pull/5152) `fix(monitoring-agents): let the release uninstall when the VictoriaMetrics operator is gone first`, `its 1 commit picked, the last in 36cd5b7a57bb` - [#5270](https://github.com/cozystack/cozystack/pull/5270) `fix(vm-instance): keep an external PortList VM valid with no ports`, `its 1 commit picked, the last in ca33a284cfa4` - [#5308](https://github.com/cozystack/cozystack/pull/5308) `fix(seaweedfs): stop the master crashing on the crowded volume map`, `its 1 commit picked, the last in 53bcbe75fa14` - [#5280](https://github.com/cozystack/cozystack/pull/5280) `fix(backups): give the barman-cloud sidecar an explicit CPU limit`, `its 1 commit picked, the last in b24a55b70296` - [#5100](https://github.com/cozystack/cozystack/pull/5100) `fix(etcd): size the defrag job for the client it runs`, `its 1 commit picked, the last in 42fb4e0ad40e` - [#5094](https://github.com/cozystack/cozystack/pull/5094) `fix(monitoring): select the vmalert Service the operator creates`, `its 1 commit picked, the last in d671ed89fecc` - [#5250](https://github.com/cozystack/cozystack/pull/5250) `fix(ingress-nginx): raise client keepalive_time above the 1h default`, `its 1 commit picked, the last in f9beb2118851` - [#4986](https://github.com/cozystack/cozystack/pull/4986) `fix(etcd): require an even spread of members over nodes by default`, `its 2 commits picked, the last in 24dab0f1f451` - [#5249](https://github.com/cozystack/cozystack/pull/5249) `fix(kubernetes): detach volumes when the infra PVC is missing`, `its 2 commits picked, the last in 8d8b427c3665` - [#4960](https://github.com/cozystack/cozystack/pull/4960) `fix(vm-disk): refuse a disk smaller than the golden image it clones`, `its 1 commit picked, the last in 42798c5665b5` - [#5102](https://github.com/cozystack/cozystack/pull/5102) `fix(monitoring-agents): make a silent Watchdog an alarm in Alerta`, `its 1 commit picked, the last in 76cf3e0cefd6` - [#4948](https://github.com/cozystack/cozystack/pull/4948) `fix(monitoring): route InfoInhibitor to the blackhole receiver`, `its 2 commits picked, the last in f050496011a1` - [#5098](https://github.com/cozystack/cozystack/pull/5098) `fix(vertical-pod-autoscaler): run two admission controllers spread over nodes`, `its 2 commits picked, the last in e6468a30fccc` - [#5119](https://github.com/cozystack/cozystack/pull/5119) `fix(postgres): accept a standard five-field backup schedule`, `its 2 commits picked, the last in c822846b0a78` - [#4993](https://github.com/cozystack/cozystack/pull/4993) `feat(monitoring): alert when pods of one workload share a node`, `its 1 commit picked, the last in 9b1c3b5737be` - [#4234](https://github.com/cozystack/cozystack/pull/4234) `fix(seaweedfs, cozy-lib): cap the Go heap so components survive their memory limit`, `its 2 commits picked, the last in 0e92bc986259` - [#5096](https://github.com/cozystack/cozystack/pull/5096) `fix(workloadmonitor): report a bucket's workloads not ready until its claim is provisioned`, `its 1 commit picked, the last in 0755bb50b9e4` - [#5114](https://github.com/cozystack/cozystack/pull/5114) `fix(kubevirt): let tenant admins upload a VMDisk image with virtctl`, `its 1 commit picked, the last in 6b3c4fe435ac` - [#4945](https://github.com/cozystack/cozystack/pull/4945) `fix(apps): keep Job and CronJob names within the Kubernetes limits`, `its 1 commit picked, the last in 3d6477c895d9` - [#4963](https://github.com/cozystack/cozystack/pull/4963) `fix(piraeus-operator): keep the LINSTOR error-report alerts quiet when the controller pod moves`, `its 1 commit picked, the last in 62ee8da0ee3e` - [#4946](https://github.com/cozystack/cozystack/pull/4946) `fix(keycloak, foundationdb): apply operator CRD updates on upgrade`, `its 2 commits picked, the last in cc99f7f7ed85` - [#4965](https://github.com/cozystack/cozystack/pull/4965) `fix(tcp-balancer): render the kubernetes and talos Service ports only with kubernetesAndTalos`, `its 1 commit picked, the last in 51fe9904d379` - [#5011](https://github.com/cozystack/cozystack/pull/5011) `fix(cozystack-basics): refuse a direct delete of a tenant namespace`, `its 1 commit picked, the last in 8a6914768ce5` - [#5242](https://github.com/cozystack/cozystack/pull/5242) `fix(vpa): shorten the admission webhook timeout to 5s`, `its 2 commits picked, the last in 73d7822952fd` - [#5329](https://github.com/cozystack/cozystack/pull/5329) `fix(ci): take main's ref for a bare first-party image ref in a drifted file`, `its 5 commits picked, the last in 2552e1587620` - [#5265](https://github.com/cozystack/cozystack/pull/5265) `fix(controller, platform): give unbounded pool members the root's LimitRange`, `its 3 commits picked, the last in ab222a92572e` - [#5153](https://github.com/cozystack/cozystack/pull/5153) `fix(kubernetes): bring up a replacement worker before draining the old one`, `its 7 commits picked, the last in 8fd70d603d76` - [#5175](https://github.com/cozystack/cozystack/pull/5175) `fix(tests): reject matcher failures in negative file assertions`, `its 3 commits picked, the last in 62e1379c454b` - [#5183](https://github.com/cozystack/cozystack/pull/5183) `fix(etcd): scope tenant alerts to their scrape job`, `its 1 commit picked, the last in 7d3dad271754` - [#5189](https://github.com/cozystack/cozystack/pull/5189) `fix(cozy-lib): render tenant hugepages quota only as requests`, `its 1 commit picked, the last in f9b34ab68131` - [#4893](https://github.com/cozystack/cozystack/pull/4893) `fix(seaweedfs): keep Object Lock working for COSI credentials on SeaweedFS 4.48`, `its 2 commits picked, the last in 9366997a4b12` - [#4915](https://github.com/cozystack/cozystack/pull/4915) `fix(seaweedfs): remove identities left behind by deleted BucketAccesses`, `its 1 commit picked, the last in ff21a7098592` - [#4896](https://github.com/cozystack/cozystack/pull/4896) `fix(kamaji): drop kubelet config fields older tenants do not know`, `its 1 commit picked, the last in cf7f62208926` - [#5364](https://github.com/cozystack/cozystack/pull/5364) `fix(backups): delete the Velero backup of a failed BackupJob`, `its 4 commits picked, the last in 0bd46bc0149e` - [#5373](https://github.com/cozystack/cozystack/pull/5373) `fix(opensearch): disable the Base64 intrinsics hit by CVE-2026-114938`, `its 1 commit picked, the last in bdac8ef210c4` - [#4920](https://github.com/cozystack/cozystack/pull/4920) `fix(lineage-webhook): keep an explicit tenantresource false`, `its 3 commits picked, the last in 5f025e9d807a` - [#5377](https://github.com/cozystack/cozystack/pull/5377) `fix(ingress-nginx): pick up the nginx rebuild with the HTTP/2 CVE fixes`, `its 1 commit picked, the last in 4d7515ab3e34` - [#5340](https://github.com/cozystack/cozystack/pull/5340) `fix(qdrant): scrape TLS metrics over HTTPS`, `its 1 commit picked, the last in e509806cbf05` - [#5331](https://github.com/cozystack/cozystack/pull/5331) `fix(kubernetes): remove cilium dependency from coredns HelmRelease`, `its 1 commit picked, the last in 948ac0b46ea8` - [#5354](https://github.com/cozystack/cozystack/pull/5354) `fix(platform): honour a bool false in ingress-enabled and monitoring-enabled`, `its 1 commit picked, the last in 0de36b85ef3a` - [#5045](https://github.com/cozystack/cozystack/pull/5045) `fix(talos): bump Talos to v1.14.4 (CVE-2026-99999)`, `its 1 commit picked, the last in 482e3e85f884` - [#5134](https://github.com/cozystack/cozystack/pull/5134) `fix(securitygroups): reject port ranges and malformed FQDNs on the SecurityGroup path`, `its 2 commits picked, the last in bda0ddac6a76` - [#5352](https://github.com/cozystack/cozystack/pull/5352) `docs(gateway): stop saying the route-hostname policy admits hostname-less routes`, `its 1 commit picked, the last in f6c5ec852737` - [#4984](https://github.com/cozystack/cozystack/pull/4984) `fix(postgres): keep users.app's password across pod restarts`, `its 1 commit picked, the last in e3b200e8d8e7` - [#5356](https://github.com/cozystack/cozystack/pull/5356) `fix(seaweedfs): point the Lance catalog consumers at the renamed s3 Service`, `its 1 commit picked, the last in 1771a8f3f5dd` - [#5160](https://github.com/cozystack/cozystack/pull/5160) `fix(linstor): roll affinity controller and scheduler on client cert rotation`, `its 1 commit picked, the last in b9fa1de2394c` - [#5357](https://github.com/cozystack/cozystack/pull/5357) `fix(api): skip an invalid ApplicationDefinition instead of failing startup`, `its 1 commit picked, the last in bdb3130fae8c` - [#5148](https://github.com/cozystack/cozystack/pull/5148) `fix(gateway): skip a child apex the wildcard certificate already covers`, `its 1 commit picked, the last in 9037cf175e7c` - [#5358](https://github.com/cozystack/cozystack/pull/5358) `fix(linstor): run the NFS server wait init container on the platform CSI image`, `its 1 commit picked, the last in 206bf78c56c2` - [#5326](https://github.com/cozystack/cozystack/pull/5326) `fix(api): make monitor watch versions usable as delete preconditions`, `its 4 commits picked, the last in 88d132920f3b` - [#4167](https://github.com/cozystack/cozystack/pull/4167) `fix(gateway): copy allowed routes for the edge listener`, `its 1 commit picked, the last in 7fb7e9dece2b` - [#5348](https://github.com/cozystack/cozystack/pull/5348) `fix(api): validate workload memory before storing an application`, `its 1 commit picked, the last in e65cec94187d` - [#5392](https://github.com/cozystack/cozystack/pull/5392) `fix(harbor): meter the registry bucket under the registry WorkloadMonitor`, `its 1 commit picked, the last in 223785486d42` - [#5403](https://github.com/cozystack/cozystack/pull/5403) `fix(platform): bump system PostgreSQL to 17.12`, `its 1 commit picked, the last in b5e19bdfa305` - [#4954](https://github.com/cozystack/cozystack/pull/4954) `fix(tenant): render the LimitRange only under a compute quota`, `its 2 commits picked, the last in 6be80ea29946` - [#4797](https://github.com/cozystack/cozystack/pull/4797) `fix(cozystack-basics): make the tenant super-admin VirtualMachine grant read-only`, `its 1 commit picked, the last in f9552cebe6c8` - [#5407](https://github.com/cozystack/cozystack/pull/5407) `fix(ingress-nginx): turn off TLS session tickets for CVE-2026-97629`, `its 1 commit picked, the last in 98ced7da4260` - [#5405](https://github.com/cozystack/cozystack/pull/5405) `fix(postgres): move tenant PostgreSQL to patched standard-trixie images`, `its 2 commits picked, the last in f0820507aaef` - [#5210](https://github.com/cozystack/cozystack/pull/5210) `fix(platform): do not gate cert-manager-issuers on ClusterIssuer readiness`, `its 1 commit picked, the last in 92d78d24de9b` - [#5399](https://github.com/cozystack/cozystack/pull/5399) `fix(kubernetes-nodes): surge one worker at a time during a pool rollout`, `its 1 commit picked, the last in 23464e5b0046` - [#5443](https://github.com/cozystack/cozystack/pull/5443) `fix(ingress): restore visitor IPs through SSL passthrough`, `its 2 commits picked, the last in 9d5ea2b919f8` - [#5436](https://github.com/cozystack/cozystack/pull/5436) `fix(ingress-nginx): pick up the nginx rebuild with the remaining CVE fixes`, `its 1 commit picked, the last in 692f78c08214` </details> <details><summary>Rule 2, the title type is not `fix` or `security`, or the scope is `deps`</summary> - [#4845](https://github.com/cozystack/cozystack/pull/4845) `docs(governance): welcome new contributors and link LF sanctions guidance`, `type docs` - [#4881](https://github.com/cozystack/cozystack/pull/4881) `feat(bucket): add a ui flag to skip the s3manager web UI`, `type feat` - [#4899](https://github.com/cozystack/cozystack/pull/4899) `chore: link the FOSSA license scan for CLOMonitor`, `type chore` - [#4898](https://github.com/cozystack/cozystack/pull/4898) `feat(backups): back up Valkey with the Redis strategy`, `type feat` - [#4940](https://github.com/cozystack/cozystack/pull/4940) `docs(release): add changelog for v1.6.5`, `type docs` - [#4861](https://github.com/cozystack/cozystack/pull/4861) `feat(release): sign the release assets and attach a source SBOM`, `type feat` - [#3780](https://github.com/cozystack/cozystack/pull/3780) `docs: move the operator guides out of docs/ to where readers find them`, `type docs` - [#4936](https://github.com/cozystack/cozystack/pull/4936) `docs(release): check changelog claims against the code`, `type docs` - [#4959](https://github.com/cozystack/cozystack/pull/4959) `docs(release): point changelog check B at the Talos installer profile`, `type docs` - [#3777](https://github.com/cozystack/cozystack/pull/3777) `docs(agents): define where a new document belongs`, `type docs` - [#5039](https://github.com/cozystack/cozystack/pull/5039) `feat(keycloak): load additional CA files from Secret or ConfigMap keys`, `type feat` - [#4860](https://github.com/cozystack/cozystack/pull/4860) `feat(kubernetes-nodes): trust a factory CA in the Proxmox template script`, `type feat` - [#5090](https://github.com/cozystack/cozystack/pull/5090) `ci(e2e): end the Proxmox lane's SSH key with a newline`, `type ci` - [#4969](https://github.com/cozystack/cozystack/pull/4969) `test(kubernetes): pin RetryOnFailure on the Proxmox csi release`, `type test` - [#5000](https://github.com/cozystack/cozystack/pull/5000) `test(kubernetes): name the Proxmox fixture's node pool <cluster>-<pool>`, `type test` - [#5168](https://github.com/cozystack/cozystack/pull/5168) `docs(agents): steer agents away from Helm lookup`, `type docs` - [#4997](https://github.com/cozystack/cozystack/pull/4997) `feat(release): attach an SBOM to every release image`, `type feat` - [#3440](https://github.com/cozystack/cozystack/pull/3440) `ci(api-review-gate): publish the gate as a commit status`, `type ci` - [#5034](https://github.com/cozystack/cozystack/pull/5034) `docs: move the repo-only guides onto the website`, `type docs` - [#5215](https://github.com/cozystack/cozystack/pull/5215) `feat(monitoring-agents): export PVC labels from kube-state-metrics`, `type feat` - [#5217](https://github.com/cozystack/cozystack/pull/5217) `feat(monitoring-agents): keep application identity in container log streams`, `type feat` - [#5171](https://github.com/cozystack/cozystack/pull/5171) `feat(api): expose HelmRelease failure state on Application status`, `type feat` - [#5237](https://github.com/cozystack/cozystack/pull/5237) `feat(operator): let the platform source trust a private registry CA`, `type feat` - [#5106](https://github.com/cozystack/cozystack/pull/5106) `feat(release): make backports automatic with backport-batch`, `type feat` - [#4983](https://github.com/cozystack/cozystack/pull/4983) `feat(api): add the reservation evaluator for tenant quotas`, `type feat` - [#5264](https://github.com/cozystack/cozystack/pull/5264) `feat(release): keep a line's backport record and reports across batch pull requests`, `type feat` - [#5260](https://github.com/cozystack/cozystack/pull/5260) `ci(e2e): skip final cleanup on disposable PR runners`, `type ci` - [#5046](https://github.com/cozystack/cozystack/pull/5046) `feat(backups): record the RDB snapshot location and size for Redis backups`, `type feat` - [#5214](https://github.com/cozystack/cozystack/pull/5214) `feat(observability-proxy): serve tenant namespace logs through an authorizing proxy`, `type feat` - [#5282](https://github.com/cozystack/cozystack/pull/5282) `test(release): isolate report deduplication from workflow attempts`, `type test` - [#5288](https://github.com/cozystack/cozystack/pull/5288) `ci(e2e): raise the E2E job limit from 215 to 265 minutes`, `type ci` - [#5269](https://github.com/cozystack/cozystack/pull/5269) `feat(release): withhold partial backports and park those that build on code their line lacks`, `type feat` - [#4931](https://github.com/cozystack/cozystack/pull/4931) `feat(backups): add Kubernetes backup strategy for tenant clusters`, `type feat` - [#5216](https://github.com/cozystack/cozystack/pull/5216) `feat(monitoring): stamp application identity on scraped series`, `type feat` - [#5266](https://github.com/cozystack/cozystack/pull/5266) `feat(virtual-machine): let each disk set its own boot order`, `type feat` - [#5318](https://github.com/cozystack/cozystack/pull/5318) `docs(release): add changelog for v1.7.1`, `type docs` - [#5219](https://github.com/cozystack/cozystack/pull/5219) `feat(observability-proxy): serve tenant namespace metrics`, `type feat` - [#5218](https://github.com/cozystack/cozystack/pull/5218) `feat(dashboard): add logs and metrics views to the console`, `type feat` - [#5310](https://github.com/cozystack/cozystack/pull/5310) `feat(redis): add maxmemory, eviction policy and snapshot toggle`, `type feat` - [#5306](https://github.com/cozystack/cozystack/pull/5306) `chore: clear golangci-lint findings and handle the errors they flagged`, `type chore` - [#5252](https://github.com/cozystack/cozystack/pull/5252) `feat(bucket)!: add publicRead to serve a bucket without credentials`, `type feat` - [#5267](https://github.com/cozystack/cozystack/pull/5267) `feat(observability-proxy): publish the proxy on its own host`, `type feat` - [#5220](https://github.com/cozystack/cozystack/pull/5220) `feat(observability-proxy): serve per-application logs and metrics`, `type feat` - [#5287](https://github.com/cozystack/cozystack/pull/5287) `ci: run only the backport-batch tests for a backport-batch change`, `type ci` - [#4944](https://github.com/cozystack/cozystack/pull/4944) `docs(vpc): generate README parameters from values.yaml`, `type docs` - [#5144](https://github.com/cozystack/cozystack/pull/5144) `feat(platform): expose Keycloak truststores through platform values`, `type feat` - [#4859](https://github.com/cozystack/cozystack/pull/4859) `docs(agents): add development principles to AGENTS.md and agent docs`, `type docs` - [#5277](https://github.com/cozystack/cozystack/pull/5277) `feat(observability-proxy): include platform exporter series in the namespace root`, `type feat` - [#4953](https://github.com/cozystack/cozystack/pull/4953) `chore(cilium): drop externalIPs.enabled and nodePort.enabled`, `type chore` - [#5174](https://github.com/cozystack/cozystack/pull/5174) `test(tests): select resources in absence-only Helm checks`, `type test` - [#5188](https://github.com/cozystack/cozystack/pull/5188) `docs: add CageForge to ADOPTERS.md`, `type docs` - [#5110](https://github.com/cozystack/cozystack/pull/5110) `feat(monitoring): take an Alertmanager template file for alert emails`, `type feat` - [#5336](https://github.com/cozystack/cozystack/pull/5336) `docs(agents): reword the section-banner comment rule`, `type docs` - [#5254](https://github.com/cozystack/cozystack/pull/5254) `feat(kubernetes): configure per-pool Talos sysctls`, `type feat` - [#3382](https://github.com/cozystack/cozystack/pull/3382) `feat(platform): package address-controller and its MetalLB driver`, `type feat` - [#2664](https://github.com/cozystack/cozystack/pull/2664) `feat(rabbitmq): add affinity configuration`, `type feat` - [#2665](https://github.com/cozystack/cozystack/pull/2665) `feat(redis): add affinity configuration`, `type feat` - [#4900](https://github.com/cozystack/cozystack/pull/4900) `feat(kafka)!: run on Strimzi 1.2.0 and Kafka 4.x`, `type feat` - [#5334](https://github.com/cozystack/cozystack/pull/5334) `build(monitoring): respin the Alerta image on a patched base`, `type build` - [#4877](https://github.com/cozystack/cozystack/pull/4877) `chore(goldpinger): bump vendored chart to 1.2.0`, `type chore` - [#4869](https://github.com/cozystack/cozystack/pull/4869) `chore(deps): roll up Renovate updates and raise dependencies to latest stable`, `type chore` - [#4495](https://github.com/cozystack/cozystack/pull/4495) `docs(api): clarify health check parsing and evaluation`, `type docs` - [#5043](https://github.com/cozystack/cozystack/pull/5043) `feat(build): attach a provenance attestation beside the SBOM`, `type feat` - [#5286](https://github.com/cozystack/cozystack/pull/5286) `feat(dashboard): let a login link pick the Keycloak identity provider`, `type feat` - [#5374](https://github.com/cozystack/cozystack/pull/5374) `chore(keycloak): bump Keycloak server to 26.8.2`, `type chore` - [#5372](https://github.com/cozystack/cozystack/pull/5372) `build(kafka-operator): vendor Strimzi 1.3.1`, `type build` - [#4952](https://github.com/cozystack/cozystack/pull/4952) `docs(release): make changelog check B find changed image build files`, `type docs` - [#5360](https://github.com/cozystack/cozystack/pull/5360) `test(hack): check hook scripts under files/ for --request-timeout`, `type test` - [#5362](https://github.com/cozystack/cozystack/pull/5362) `test(migrations): build each migration test image once per file`, `type test` - [#3149](https://github.com/cozystack/cozystack/pull/3149) `feat(networking): cozyplane eBPF CNI + cozyplane-kpr networking variant (drops Cilium)`, `type feat` - [#4902](https://github.com/cozystack/cozystack/pull/4902) `feat(cluster-api)!: update Cluster API to v1.14.4`, `type feat` - [#5240](https://github.com/cozystack/cozystack/pull/5240) `feat(virtual-machine): group a VM's claims for Velero volume group snapshots`, `type feat` - [#5376](https://github.com/cozystack/cozystack/pull/5376) `feat(monitoring, kubernetes): add destinations to the monitoring agents without replacing the defaults`, `type feat` - [#5112](https://github.com/cozystack/cozystack/pull/5112) `feat(platform): make the Keycloak public host configurable`, `type feat` - [#5239](https://github.com/cozystack/cozystack/pull/5239) `feat(linstor, platform): upgrade snapshot-controller to v8.7.0 and enable VolumeGroupSnapshots`, `type feat` - [#2622](https://github.com/cozystack/cozystack/pull/2622) `feat(apps): per-app schedulingClass field for selective workload placement`, `type feat` - [#5349](https://github.com/cozystack/cozystack/pull/5349) `feat(api, kubernetes, virtual-machine): declare tenant quota reservations on ApplicationDefinitions`, `type feat` - [#4879](https://github.com/cozystack/cozystack/pull/4879) `feat(seaweedfs): bump chart to 4.48 and backport Gateway API HTTPRoutes`, `type feat` - [#5050](https://github.com/cozystack/cozystack/pull/5050) `feat(bucket): offer Object Lock without a default retention`, `type feat` - [#5404](https://github.com/cozystack/cozystack/pull/5404) `feat(postgres): add an audit toggle for access and statement logging`, `type feat` - [#5411](https://github.com/cozystack/cozystack/pull/5411) `test(reservation): check shipped consumption declarations on the rendered charts`, `type test` - [#4508](https://github.com/cozystack/cozystack/pull/4508) `feat(vpc): cozyplane variant of the VPC application`, `type feat` - [#5424](https://github.com/cozystack/cozystack/pull/5424) `test(kafka): check tenant-visible Strimzi Secrets in the e2e suite`, `type test` - [#5425](https://github.com/cozystack/cozystack/pull/5425) `refactor(computeplane): stop copying pool defaults into the default md0`, `type refactor` - [#5428](https://github.com/cozystack/cozystack/pull/5428) `refactor(backups): stop annotating restored PVCs for CDI claim adoption`, `type refactor` - [#5408](https://github.com/cozystack/cozystack/pull/5408) `refactor(tenant): make gateway a plain bool`, `type refactor` - [#5285](https://github.com/cozystack/cozystack/pull/5285) `chore(deps): update module golang.org/x/crypto to v0.59.0 [security]`, `type chore` - [#5162](https://github.com/cozystack/cozystack/pull/5162) `docs(release): add changelog for v1.7.0`, `type docs` - [#5238](https://github.com/cozystack/cozystack/pull/5238) `chore(deps): update module github.com/klauspost/compress to v1.20.2 [security]`, `type chore` - [#4822](https://github.com/cozystack/cozystack/pull/4822) `chore(deps): update module golang.org/x/net to v0.62.0 [security]`, `type chore` </details> <details><summary>Rule 3, a breaking change</summary> - [#4790](https://github.com/cozystack/cozystack/pull/4790) `fix(platform)!: refuse a networking variant change on a live cluster`, `! in the title` - [#4796](https://github.com/cozystack/cozystack/pull/4796) `fix(vm-disk)!: refuse a golden-image clone CDI would leave unbound`, `! in the title` - [#5085](https://github.com/cozystack/cozystack/pull/5085) `fix(kubernetes, opensearch, foundationdb)!: restrict managed application images`, `! in the title` - [#4818](https://github.com/cozystack/cozystack/pull/4818) `fix(keycloak)!: make the KMS proxy keep its keys across restarts`, `! in the title` - [#5167](https://github.com/cozystack/cozystack/pull/5167) `fix(monitoring-agents)!: isolate merged log payload under log_processed`, `! in the title` - [#5009](https://github.com/cozystack/cozystack/pull/5009) `fix(cozy-lib)!: refuse memory below 1Mi instead of rendering a few bytes`, `! in the title` - [#5191](https://github.com/cozystack/cozystack/pull/5191) `fix(kubernetes)!: remove the talos block and other leftovers of the worker pool split`, `! in the title` - [#4802](https://github.com/cozystack/cozystack/pull/4802) `fix(vm-disk, kubernetes-nodes)!: refuse golden images whose import keeps failing`, `! in the title` </details> <details><summary>Rule 4, touches platform migrations, `targetVersion` or a CRD, or makes a sizeable API change</summary> - [#4941](https://github.com/cozystack/cozystack/pull/4941) `fix(backups): keep the backupstrategy-controller Helm release under the Secret size limit`, `a sizeable API change (breaking-change: [v1alpha1] spec.spec.template: field "metadata" was removed, and 5 more), a CRD` - [#5223](https://github.com/cozystack/cozystack/pull/5223) `fix(backups): report sizeBytes for MariaDB and CNPG backup artifacts`, `a CRD` - [#5166](https://github.com/cozystack/cozystack/pull/5166) `fix(linstor): update piraeus-operator to v2.12.1`, `a CRD` - [#5430](https://github.com/cozystack/cozystack/pull/5430) `fix(linstor): gate group snapshots on the v1 group snapshot API`, `platform migrations` </details> <details><summary>Dropped from `release-1.7` by a maintainer</summary> - [#5309](https://github.com/cozystack/cozystack/pull/5309) `fix(linstor): restore snapshots on a schedulable node`, `dropped on #5311: builds on linstor-csi v1.13.2 bump from #5166 which rule 4 keeps off this line, its patch 003 does not apply to v1.11.2` </details> ```backport-batch {"version":3,"line":"release-1.7","built":{"main":"a2b341e31be2fc4d7c044a4f5ad5239d5f342af6","line":"fad3e6e2110c37e0b060dd8d983b06278e07a5f7","newer":"","policy":"a2b341e31be2fc4d7c044a4f5ad5239d5f342af6","batch":"ec8da60ac5c0d010f966b808f572d85e4ed4abac","tool":"a2b341e31be2fc4d7c044a4f5ad5239d5f342af6","run":"https://github.com/cozystack/cozystack/actions/runs/45851301683","at":"2026-11-26T15:42:14Z","options":{"noWorkflowFiles":true,"mode":"new"}},"report":"e5a6b1b5fadbb2a39f0e1168f0a8796a07a4a8b6ddbf8b767d5b37f3aac27d44","closing":null,"deferred":[],"dropped":[{"original":5309,"merge":"5dbfa1cfaddd9eaf30bf4b1eeca830cd9b242a0e","reason":"builds on linstor-csi v1.13.2 bump from #5166 which rule 4 keeps off this line, its patch 003 does not apply to v1.11.2","on":5311,"date":"2026-11-25"}],"stale":[],"parked":[{"original":5049,"merge":"2b1b7a4cc29e68e7efda016d40f05168dc36d19b","kind":"dependency","needs":[4802,5191,5393],"announced":true},{"original":5221,"merge":"e978ed7f2fcad22b80cbf077351cde494c9c4b8c","kind":"dependency","needs":[5223],"announced":true},{"original":5224,"merge":"8f0082a1c81fd27dcab7e558d292c251451001ba","kind":"dependency","needs":[5227,5232],"announced":true},{"original":5227,"merge":"526f08e17d2d499941e36f5f8451be9bcf3f4440","kind":"dependency","needs":[5223],"announced":true},{"original":5229,"merge":"2cf80c02a4c2a38b25faed766fd7f5caf2a214cd","kind":"dependency","needs":[5232],"announced":true},{"original":5232,"merge":"3badbdef74f8295b6d556063a0abb69611475f10","kind":"dependency","needs":[5034],"announced":true},{"original":5294,"merge":"4f813fb6b2566bc508944047b65f4939861825d5","kind":"dependency","needs":[5221],"announced":true},{"original":5295,"merge":"2495ebfaa02c505be1844311d09f9b2fce728cc2","kind":"dependency","needs":[5221],"announced":true},{"original":5320,"merge":"ef32ff8d719dc8882776a26f3a9050163d6c79d0","kind":"dependency","needs":[5221],"announced":true},{"original":5344,"merge":"e11ca91d8110a9e979344ef3053afc2e1321b381","kind":"dependency","needs":[5227],"announced":true},{"original":5375,"merge":"04fb5215a85860ff8c4a66c4b58d113a2e85076b","kind":"dependency","needs":[5167],"announced":true},{"original":5398,"merge":"1ab20ea96e64d48d5c9a160ee3f40093238d7dd5","kind":"dependency","needs":[4902],"announced":true},{"original":5415,"merge":"fc5ece0a289218cdb32a161780872dce0729fdd9","kind":"dependency","needs":[5224],"announced":true},{"original":5426,"merge":"0d75b0e3526489d27612f6fc5a6ad3848d96e217","kind":"dependency","needs":[5050,5252],"announced":true},{"original":5427,"merge":"7067313c95f6d308b310606afb96155e25b41d10","kind":"dependency","needs":[5376],"announced":true}]} ``` ```backport-batch-report {"format":2,"id":"e5a6b1b5fadbb2a39f0e1168f0a8796a07a4a8b6ddbf8b767d5b37f3aac27d44","line":"release-1.7","built":{"main":"a2b341e31be2fc4d7c044a4f5ad5239d5f342af6","line":"fad3e6e2110c37e0b060dd8d983b06278e07a5f7","newer":"","policy":"a2b341e31be2fc4d7c044a4f5ad5239d5f342af6","batch":"ec8da60ac5c0d010f966b808f572d85e4ed4abac","tool":"a2b341e31be2fc4d7c044a4f5ad5239d5f342af6","run":"https://github.com/cozystack/cozystack/actions/runs/45851301683","at":"2026-11-26T15:42:14Z","options":{"noWorkflowFiles":true,"mode":"new"}},"overrides":{"backport/include":[4985,4993,5005,5025,5352,5407],"backport/skip":[4817,4921,4973,4989,4990,5083,5156,5163,5180,5186,5337,5393]},"primary":{"picked":[5236],"missing":[],"deferred":[],"parked":[{"original":5049,"merge":"2b1b7a4cc29e68e7efda016d40f05168dc36d19b","kind":"dependency","needs":[4802,5191,5393]},{"original":5221,"merge":"e978ed7f2fcad22b80cbf077351cde494c9c4b8c","kind":"dependency","needs":[5223]},{"original":5224,"merge":"8f0082a1c81fd27dcab7e558d292c251451001ba","kind":"dependency","needs":[5227,5232]},{"original":5227,"merge":"526f08e17d2d499941e36f5f8451be9bcf3f4440","kind":"dependency","needs":[5223]},{"original":5229,"merge":"2cf80c02a4c2a38b25faed766fd7f5caf2a214cd","kind":"dependency","needs":[5232]},{"original":5232,"merge":"3badbdef74f8295b6d556063a0abb69611475f10","kind":"dependency","needs":[5034]},{"original":5294,"merge":"4f813fb6b2566bc508944047b65f4939861825d5","kind":"dependency","needs":[5221]},{"original":5295,"merge":"2495ebfaa02c505be1844311d09f9b2fce728cc2","kind":"dependency","needs":[5221]},{"original":5320,"merge":"ef32ff8d719dc8882776a26f3a9050163d6c79d0","kind":"dependency","needs":[5221]},{"original":5344,"merge":"e11ca91d8110a9e979344ef3053afc2e1321b381","kind":"dependency","needs":[5227]},{"original":5375,"merge":"04fb5215a85860ff8c4a66c4b58d113a2e85076b","kind":"dependency","needs":[5167]},{"original":5398,"merge":"1ab20ea96e64d48d5c9a160ee3f40093238d7dd5","kind":"dependency","needs":[4902]},{"original":5415,"merge":"fc5ece0a289218cdb32a161780872dce0729fdd9","kind":"dependency","needs":[5224]},{"original":5426,"merge":"0d75b0e3526489d27612f6fc5a6ad3848d96e217","kind":"dependency","needs":[5050,5252]},{"original":5427,"merge":"7067313c95f6d308b310606afb96155e25b41d10","kind":"dependency","needs":[5376]}],"skipped":{"on-line":[3427,4004,4167,4234,4293,4756,4791,4797,4815,4819,4830,4865,4866,4867,4888,4889,4893,4896,4914,4915,4917,4920,4929,4939,4945,4946,4948,4954,4955,4960,4963,4965,4970,4971,4972,4974,4984,4985,4986,4993,5005,5011,5024,5025,5027,5045,5071,5082,5086,5087,5088,5091,5094,5096,5098,5100,5102,5114,5119,5123,5124,5133,5134,5142,5148,5151,5152,5153,5155,5160,5175,5183,5184,5189,5190,5207,5208,5210,5211,5212,5213,5226,5228,5230,5242,5249,5250,5265,5270,5280,5284,5308,5326,5329,5331,5340,5348,5352,5354,5356,5357,5358,5364,5373,5377,5392,5399,5403,5405,5407,5436,5443],"before-start":[],"type":[2622,2664,2665,3149,3382,3440,3777,3780,4495,4508,4822,4845,4859,4860,4861,4869,4877,4879,4881,4898,4899,4900,4902,4931,4936,4940,4944,4952,4953,4959,4969,4983,4997,5000,5034,5039,5043,5046,5050,5090,5106,5110,5112,5144,5162,5168,5171,5174,5188,5214,5215,5216,5217,5218,5219,5220,5237,5238,5239,5240,5252,5254,5260,5264,5266,5267,5269,5277,5282,5285,5286,5287,5288,5306,5310,5318,5334,5336,5349,5360,5362,5372,5374,5376,5404,5408,5411,5424,5425,5428],"breaking":[4790,4796,4802,4818,5009,5085,5167,5191],"touches":[4941,5166,5223,5430],"newer":[],"skip-label":[4817,4921,4973,4989,4990,5083,5156,5163,5180,5186,5337,5393],"dropped":[5309]}},"overlays":{"dropped":[{"original":5309,"merge":"5dbfa1cfaddd9eaf30bf4b1eeca830cd9b242a0e","reason":"builds on linstor-csi v1.13.2 bump from #5166 which rule 4 keeps off this line, its patch 003 does not apply to v1.11.2","on":5311,"date":"2026-11-25"}],"stale":[],"changed":[]},"diag":{},"other":[]} ``` ### Screenshots See the original pull requests. ### Downstream repositories - [ ] 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: - [ ] [cozystack/community](https://github.com/cozystack/community) - follow-up: ### Release note ```release-note fix(kubernetes): the kubevirt-csi ClusterRole and ClusterRoleBinding are now named after the tenant namespace and the cluster, so deleting a cluster no longer removes PersistentVolume access, and with it volume expansion, from a cluster with the same name in another tenant. ```v1.7.2-rc.2 |
||
|
|
ec8da60ac5 |
fix(kubernetes): include the namespace in the kubevirt-csi ClusterRole name (#5236)
## What this PR does
The ClusterRole that lets the kubevirt-csi controller get
PersistentVolumes in the management cluster, and its ClusterRoleBinding,
are named `<release>-kcsi` and `<release>-kcsi-binding`. They are
cluster-scoped and the release is named after the cluster, so two
tenants that each have a Kubernetes cluster with the same name render
the same pair.
I hit this on a 1.6 cluster. A user moved from one tenant to another and
created a cluster named `test` in the new tenant while the old tenant
still had its own `test`:
- installing the new release did not fail: the audit log shows
helm-controller getting and patching the existing ClusterRoleBinding,
and the release reported `Install complete`;
- when the old tenant was deleted, its uninstall deleted
`kubernetes-test-kcsi` and `kubernetes-test-kcsi-binding`
(helm-controller's `delete` on both is in the audit log);
- from then on the new cluster's CSI controller failed every
`ControllerExpandVolume` with `error fetching pv ... persistentvolumes
"pvc-..." is forbidden: User
"system:serviceaccount:tenant-...:kubernetes-test-kcsi" cannot get
resource "persistentvolumes" ... at the cluster scope`, and PVC resizes
stayed in `Resizing`;
- the next upgrade of the new release recreated the pair, and resizing
worked again.
Now both objects are named `<namespace>-<release>-kcsi` and
`<namespace>-<release>-kcsi-binding`, the same way the kccm ClusterRole
and binding already are. The rules and the subject are unchanged. On
upgrade Helm creates the new pair before it deletes the old one, so the
driver doesn't lose access in between.
`tests/csi_rbac_test.yaml` checks the new names, the PersistentVolume
rule, the binding's roleRef and subject, and that a release with the
same name in another namespace gets its own pair. Without the template
change three of the four cases fail; the whole chart suite passes (370
tests).
The same naming is in release-1.6, so this needs a backport.
### Screenshots
Not a UI change.
### Downstream repositories
I walked the trigger map against the diff (one chart template and its
unit tests): no package added or removed, no values, schema or default
changed, no output Secret or Service renamed, nothing under `hack/`
touched.
- [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:
- [ ] [cozystack/community](https://github.com/cozystack/community) -
follow-up:
### Release note
```release-note
fix(kubernetes): the kubevirt-csi ClusterRole and ClusterRoleBinding are now named after the tenant namespace and the cluster, so deleting a cluster no longer removes PersistentVolume access, and with it volume expansion, from a cluster with the same name in another tenant.
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **Bug Fixes**
* CSI access-control resources in non-Proxmox deployments now include
the release namespace in their names, allowing same-named releases in
different namespaces to have separate roles and bindings. Each binding
remains associated with its corresponding role and service account. The
permissions granted to the CSI service account are unchanged.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Backported-from:
|
||
|
|
d803d8d516 |
fix(kubernetes): include the namespace in the kubevirt-csi ClusterRole name
The ClusterRole that lets the kubevirt-csi controller get
PersistentVolumes, and its ClusterRoleBinding, were named after the
release only. They are cluster-scoped, and a release is named after the
cluster, so two tenants with a cluster of the same name render the same
pair. Installing the second one does not fail: the existing objects are
patched and adopted. Deleting either cluster then deletes the pair, and
the other cluster's CSI controller fails every ControllerExpandVolume
with "persistentvolumes ... is forbidden" until its own release is
upgraded again, so a PVC resize stays in Resizing.
Name both objects after the namespace and the release, the way the
kccm ClusterRole already is. On upgrade Helm creates the new pair before
it deletes the old one, so the driver keeps its access.
Signed-off-by: Yan Bondarenko <202671653+yankawai@users.noreply.github.com>
Assisted-by: LLM
(cherry picked from commit
|
||
|
|
fad3e6e211 |
revert(postgres): take the standard-trixie image move out of release-1.7 (#5461)
## What this PR does
Reverts #5405 on release-1.7. Upgrade test from v1.7.1 to v1.7.2-rc.1
found blockers in it (#5459), so v1.7.2 ships tenant postgres same as
v1.7.1. Fixes go to main first, and the change comes back to 1.7
together with them in a later patch.
It is `git revert -m 1` of the unit #5311 carried for #5405 (
|
||
|
|
643ee1e7af |
revert(postgres): take the standard-trixie image move out of release-1.7
The upgrade test from v1.7.1 to v1.7.2-rc.1 on a live cluster found blockers in this change, so v1.7.2 ships tenant PostgreSQL as v1.7.1 had it, and the change comes back to this line once the fixes are on main. This reverts the unit |
||
|
|
6963ec526d |
fix(backport): batch for release-1.7, 2026-11-13 (#5311)
## What this PR does Backports to `release-1.7` from `main`, picked by the rules of the [backport policy](https://github.com/cozystack/cozystack/blob/main/docs/release/backports.md) in merge order. A merged pull request comes as its own commits, picked with `git cherry-pick -x` so each keeps its author, message and sign-offs, and a merge commit that carries the original's merge message with a `Backported-from:` trailer naming it; a squash-merged one comes as one pick. `backport-batch verify` checks that shape. A pick listed as changed differs from the commit it came from, and its release note waits under Check these notes. A conflict or a failing check here is a [backport task](https://github.com/cozystack/cozystack/blob/main/docs/release/backport-tasks/README.md). - [#5025](https://github.com/cozystack/cozystack/pull/5025) `test(harbor): pin the resources of the nginx proxy and the portal`, 2 commits - [#5226](https://github.com/cozystack/cozystack/pull/5226) `fix(platform): leave tenant-root's ingress empty when the root tenant has none`, 5 commits - [#5228](https://github.com/cozystack/cozystack/pull/5228) `fix(seaweedfs): enforce S3 bucket lifecycle rules`, 14 commits - [#5152](https://github.com/cozystack/cozystack/pull/5152) `fix(monitoring-agents): let the release uninstall when the VictoriaMetrics operator is gone first`, 1 commit - [#5229](https://github.com/cozystack/cozystack/pull/5229) `fix(clickhouse): keep failed backup attempts out of the bucket`, 11 commits, changed in the pick: `8b7652953983`, `1e5e3a45df64`, `817b59a45a61`, `c90765771efb` - [#5270](https://github.com/cozystack/cozystack/pull/5270) `fix(vm-instance): keep an external PortList VM valid with no ports`, 1 commit - [#5308](https://github.com/cozystack/cozystack/pull/5308) `fix(seaweedfs): stop the master crashing on the crowded volume map`, 1 commit - [#5280](https://github.com/cozystack/cozystack/pull/5280) `fix(backups): give the barman-cloud sidecar an explicit CPU limit`, 1 commit - [#5100](https://github.com/cozystack/cozystack/pull/5100) `fix(etcd): size the defrag job for the client it runs`, 1 commit - [#5094](https://github.com/cozystack/cozystack/pull/5094) `fix(monitoring): select the vmalert Service the operator creates`, 1 commit - [#5250](https://github.com/cozystack/cozystack/pull/5250) `fix(ingress-nginx): raise client keepalive_time above the 1h default`, 1 commit - [#4986](https://github.com/cozystack/cozystack/pull/4986) `fix(etcd): require an even spread of members over nodes by default`, 2 commits - [#5249](https://github.com/cozystack/cozystack/pull/5249) `fix(kubernetes): detach volumes when the infra PVC is missing`, 2 commits - [#4960](https://github.com/cozystack/cozystack/pull/4960) `fix(vm-disk): refuse a disk smaller than the golden image it clones`, 1 commit - [#5102](https://github.com/cozystack/cozystack/pull/5102) `fix(monitoring-agents): make a silent Watchdog an alarm in Alerta`, 1 commit - [#4948](https://github.com/cozystack/cozystack/pull/4948) `fix(monitoring): route InfoInhibitor to the blackhole receiver`, 2 commits - [#5098](https://github.com/cozystack/cozystack/pull/5098) `fix(vertical-pod-autoscaler): run two admission controllers spread over nodes`, 2 commits - [#5119](https://github.com/cozystack/cozystack/pull/5119) `fix(postgres): accept a standard five-field backup schedule`, 2 commits, changed in the pick: `ca1b59243e35` - [#4993](https://github.com/cozystack/cozystack/pull/4993) `feat(monitoring): alert when pods of one workload share a node`, 1 commit - [#4234](https://github.com/cozystack/cozystack/pull/4234) `fix(seaweedfs, cozy-lib): cap the Go heap so components survive their memory limit`, 2 commits - [#5096](https://github.com/cozystack/cozystack/pull/5096) `fix(workloadmonitor): report a bucket's workloads not ready until its claim is provisioned`, 1 commit - [#5114](https://github.com/cozystack/cozystack/pull/5114) `fix(kubevirt): let tenant admins upload a VMDisk image with virtctl`, 1 commit - [#4945](https://github.com/cozystack/cozystack/pull/4945) `fix(apps): keep Job and CronJob names within the Kubernetes limits`, 1 commit - [#4963](https://github.com/cozystack/cozystack/pull/4963) `fix(piraeus-operator): keep the LINSTOR error-report alerts quiet when the controller pod moves`, 1 commit - [#4946](https://github.com/cozystack/cozystack/pull/4946) `fix(keycloak, foundationdb): apply operator CRD updates on upgrade`, 2 commits - [#4965](https://github.com/cozystack/cozystack/pull/4965) `fix(tcp-balancer): render the kubernetes and talos Service ports only with kubernetesAndTalos`, 1 commit - [#5011](https://github.com/cozystack/cozystack/pull/5011) `fix(cozystack-basics): refuse a direct delete of a tenant namespace`, 1 commit - [#5242](https://github.com/cozystack/cozystack/pull/5242) `fix(vpa): shorten the admission webhook timeout to 5s`, 2 commits - [#5329](https://github.com/cozystack/cozystack/pull/5329) `fix(ci): take main's ref for a bare first-party image ref in a drifted file`, 5 commits - [#5265](https://github.com/cozystack/cozystack/pull/5265) `fix(controller, platform): give unbounded pool members the root's LimitRange`, 3 commits - [#5153](https://github.com/cozystack/cozystack/pull/5153) `fix(kubernetes): bring up a replacement worker before draining the old one`, 7 commits, changed as a whole: some of its change is not in the picks - [#5175](https://github.com/cozystack/cozystack/pull/5175) `fix(tests): reject matcher failures in negative file assertions`, 3 commits - [#5183](https://github.com/cozystack/cozystack/pull/5183) `fix(etcd): scope tenant alerts to their scrape job`, 1 commit - [#5189](https://github.com/cozystack/cozystack/pull/5189) `fix(cozy-lib): render tenant hugepages quota only as requests`, 1 commit - [#4893](https://github.com/cozystack/cozystack/pull/4893) `fix(seaweedfs): keep Object Lock working for COSI credentials on SeaweedFS 4.48`, 2 commits - [#4915](https://github.com/cozystack/cozystack/pull/4915) `fix(seaweedfs): remove identities left behind by deleted BucketAccesses`, 1 commit - [#4896](https://github.com/cozystack/cozystack/pull/4896) `fix(kamaji): drop kubelet config fields older tenants do not know`, 1 commit - [#5364](https://github.com/cozystack/cozystack/pull/5364) `fix(backups): delete the Velero backup of a failed BackupJob`, 4 commits - [#5373](https://github.com/cozystack/cozystack/pull/5373) `fix(opensearch): disable the Base64 intrinsics hit by CVE-2026-114938`, 1 commit - [#4920](https://github.com/cozystack/cozystack/pull/4920) `fix(lineage-webhook): keep an explicit tenantresource false`, 3 commits - [#5377](https://github.com/cozystack/cozystack/pull/5377) `fix(ingress-nginx): pick up the nginx rebuild with the HTTP/2 CVE fixes`, 1 commit - [#5340](https://github.com/cozystack/cozystack/pull/5340) `fix(qdrant): scrape TLS metrics over HTTPS`, 1 commit - [#5331](https://github.com/cozystack/cozystack/pull/5331) `fix(kubernetes): remove cilium dependency from coredns HelmRelease`, 1 commit - [#5354](https://github.com/cozystack/cozystack/pull/5354) `fix(platform): honour a bool false in ingress-enabled and monitoring-enabled`, 1 commit - [#5045](https://github.com/cozystack/cozystack/pull/5045) `fix(talos): bump Talos to v1.14.4 (CVE-2026-99999)`, 1 commit, changed in the pick: `482e3e85f884` - [#5134](https://github.com/cozystack/cozystack/pull/5134) `fix(securitygroups): reject port ranges and malformed FQDNs on the SecurityGroup path`, 2 commits - [#5352](https://github.com/cozystack/cozystack/pull/5352) `docs(gateway): stop saying the route-hostname policy admits hostname-less routes`, 1 commit - [#4984](https://github.com/cozystack/cozystack/pull/4984) `fix(postgres): keep users.app's password across pod restarts`, 1 commit - [#5356](https://github.com/cozystack/cozystack/pull/5356) `fix(seaweedfs): point the Lance catalog consumers at the renamed s3 Service`, 1 commit - [#5160](https://github.com/cozystack/cozystack/pull/5160) `fix(linstor): roll affinity controller and scheduler on client cert rotation`, 1 commit - [#5357](https://github.com/cozystack/cozystack/pull/5357) `fix(api): skip an invalid ApplicationDefinition instead of failing startup`, 1 commit - [#5148](https://github.com/cozystack/cozystack/pull/5148) `fix(gateway): skip a child apex the wildcard certificate already covers`, 1 commit - [#5358](https://github.com/cozystack/cozystack/pull/5358) `fix(linstor): run the NFS server wait init container on the platform CSI image`, 1 commit - [#5326](https://github.com/cozystack/cozystack/pull/5326) `fix(api): make monitor watch versions usable as delete preconditions`, 4 commits - [#4167](https://github.com/cozystack/cozystack/pull/4167) `fix(gateway): copy allowed routes for the edge listener`, 1 commit - [#5348](https://github.com/cozystack/cozystack/pull/5348) `fix(api): validate workload memory before storing an application`, 1 commit - [#5392](https://github.com/cozystack/cozystack/pull/5392) `fix(harbor): meter the registry bucket under the registry WorkloadMonitor`, 1 commit - [#5403](https://github.com/cozystack/cozystack/pull/5403) `fix(platform): bump system PostgreSQL to 17.12`, 1 commit - [#4954](https://github.com/cozystack/cozystack/pull/4954) `fix(tenant): render the LimitRange only under a compute quota`, 2 commits - [#4797](https://github.com/cozystack/cozystack/pull/4797) `fix(cozystack-basics): make the tenant super-admin VirtualMachine grant read-only`, 1 commit - [#5407](https://github.com/cozystack/cozystack/pull/5407) `fix(ingress-nginx): turn off TLS session tickets for CVE-2026-97629`, 1 commit - [#5405](https://github.com/cozystack/cozystack/pull/5405) `fix(postgres): move tenant PostgreSQL to patched standard-trixie images`, 2 commits - [#5210](https://github.com/cozystack/cozystack/pull/5210) `fix(platform): do not gate cert-manager-issuers on ClusterIssuer readiness`, 1 commit - [#5399](https://github.com/cozystack/cozystack/pull/5399) `fix(kubernetes-nodes): surge one worker at a time during a pool rollout`, 1 commit - [#5443](https://github.com/cozystack/cozystack/pull/5443) `fix(ingress): restore visitor IPs through SSL passthrough`, 2 commits - [#5436](https://github.com/cozystack/cozystack/pull/5436) `fix(ingress-nginx): pick up the nginx rebuild with the remaining CVE fixes`, 1 commit ### Check these notes These picks differ from their originals, so their release notes are left out of the release-note block until someone checks that each still holds for this line. Each comes with what to compare: every pick that differs against the commit it came from, and the original's change against the unit's. [#5229](https://github.com/cozystack/cozystack/pull/5229) `fix(clickhouse): keep failed backup attempts out of the bucket`, carried by `c24bb4c16faf`: ```text fix(clickhouse): failed ClickHouse backup attempts are no longer uploaded to the bucket when the backup sidecar restarts, local backups no longer accumulate on the data volume, the backup strategy waits for the sidecar to be idle instead of failing with HTTP 423, a retried ClickHouse restore takes over the restore that is still running instead of starting it a second time, and a retried ClickHouse backup takes over or reuses its own upload instead of starting a new one. Every ClickHouse backup run now writes an archive of its own, even when two runs start in the same second, under a name no longer than before. ClickHouse pods with backups enabled are restarted once on upgrade. ``` - `git range-diff --creation-factor=999 a25db5aeb646^! 8b7652953983^!` - `git range-diff --creation-factor=999 d0a73302d9a7^! 1e5e3a45df64^!` - `git range-diff --creation-factor=999 993b79bb370c^! 817b59a45a61^!` - `git range-diff --creation-factor=999 ae1e1830ce69^! c90765771efb^!` - `git diff 2cf80c02a4c2^1 2cf80c02a4c2` - `git diff c24bb4c16faf^1 c24bb4c16faf` [#5119](https://github.com/cozystack/cozystack/pull/5119) `fix(postgres): accept a standard five-field backup schedule`, carried by `44756606101d`: ```text fix(postgres): backup.schedule accepts a standard five-field cron such as 0 2 * * *, and the chart prepends a 0 seconds field before handing it to CloudNativePG, which reads the first field as seconds. Six-field values and descriptors render as before, and any other field count fails the render. A release that already sets five fields gets the standard meaning on upgrade, so 0 2 * * * moves from hourly to daily. ``` - `git range-diff --creation-factor=999 982db83dd22d^! ca1b59243e35^!` - `git diff 5fe356f57e8a^1 5fe356f57e8a` - `git diff 44756606101d^1 44756606101d` [#5153](https://github.com/cozystack/cozystack/pull/5153) `fix(kubernetes): bring up a replacement worker before draining the old one`, carried by `50bc327df8d7`: ```text fix(kubernetes): worker pool rollouts (instance type, image or version changes) now bring each replacement node up before draining the old one, instead of removing a node first. A rollout needs room for one extra VM. Pools with GPUs keep the previous behaviour. ``` - `git diff da17254bbc2c^1 da17254bbc2c` - `git diff 50bc327df8d7^1 50bc327df8d7` [#5045](https://github.com/cozystack/cozystack/pull/5045) `fix(talos): bump Talos to v1.14.4 (CVE-2026-99999)`, carried by `3ce6c4badd69`: ```text fix(talos): Bump Talos to v1.14.4 (Linux 6.18.57) to fix CVE-2026-99999 (PwnEscape), a guest-to-host escape through virtio_net_hdr checksum offload that any KubeVirt VM can reach on the host node. Upgrade and reboot host nodes; the fix applies only to the kernel that is running. ``` - `git range-diff --creation-factor=999 d28316671c24^! 482e3e85f884^!` - `git diff 382169be52d1^1 382169be52d1` - `git diff 3ce6c4badd69^1 3ce6c4badd69` ### Parked These cannot land on `release-1.7` whole, so the batch does not pick them: each would leave part of it without effect there, or builds on a change that never reaches the line. A maintainer ports what applies as a pull request of its own, or drops the original with `backport-batch run --drop`; `backport/include` does not lift a park. - [#5232](https://github.com/cozystack/cozystack/pull/5232) `fix(clickhouse): let a running backup sidecar pick up system-bucket credentials`: builds on [#5034](https://github.com/cozystack/cozystack/pull/5034), which never reaches this line - [#5221](https://github.com/cozystack/cozystack/pull/5221) `fix(postgres): stop backup jobs from fighting over the WAL archive destination`: builds on [#5223](https://github.com/cozystack/cozystack/pull/5223), which never reaches this line - [#5227](https://github.com/cozystack/cozystack/pull/5227) `fix(mariadb): restore the dump a Backup was taken as`: builds on [#5223](https://github.com/cozystack/cozystack/pull/5223), which never reaches this line - [#5294](https://github.com/cozystack/cozystack/pull/5294) `fix(postgres): hold the WAL archive destination for backups no job tracks`: builds on [#5221](https://github.com/cozystack/cozystack/pull/5221), which never reaches this line - [#5295](https://github.com/cozystack/cozystack/pull/5295) `fix(postgres): restore from an archive with the access it was written with`: builds on [#5221](https://github.com/cozystack/cozystack/pull/5221), which never reaches this line - [#5344](https://github.com/cozystack/cozystack/pull/5344) `fix(backups): stop leaking MariaDB dumps of stuck runs and torn-down namespaces`: builds on [#5227](https://github.com/cozystack/cozystack/pull/5227), which never reaches this line - [#5375](https://github.com/cozystack/cozystack/pull/5375) `fix(kubernetes): apply addons.monitoringAgents.valuesOverride`: builds on [#5167](https://github.com/cozystack/cozystack/pull/5167), which never reaches this line - [#5224](https://github.com/cozystack/cozystack/pull/5224) `fix(clickhouse): delete the archive when its Backup is deleted`: builds on [#5227](https://github.com/cozystack/cozystack/pull/5227), [#5232](https://github.com/cozystack/cozystack/pull/5232), which never reaches this line - [#5398](https://github.com/cozystack/cozystack/pull/5398) `fix(cluster-api): name the kubeconfig the upgrade hook runs with`: builds on [#4902](https://github.com/cozystack/cozystack/pull/4902), which never reaches this line - [#5415](https://github.com/cozystack/cozystack/pull/5415) `fix(clickhouse): keep a quota-held archive delete and count a failed one once`: builds on [#5224](https://github.com/cozystack/cozystack/pull/5224), which never reaches this line - [#5049](https://github.com/cozystack/cozystack/pull/5049) `fix(kubernetes): bump tenant worker Talos to v1.13.12 (CVE-2026-99999)`: builds on [#4802](https://github.com/cozystack/cozystack/pull/4802), [#5191](https://github.com/cozystack/cozystack/pull/5191), [#5393](https://github.com/cozystack/cozystack/pull/5393), which never reaches this line - [#5426](https://github.com/cozystack/cozystack/pull/5426) `fix(seaweedfs): stop reserving storage pool name suffixes`: builds on [#5050](https://github.com/cozystack/cozystack/pull/5050), [#5252](https://github.com/cozystack/cozystack/pull/5252), which never reaches this line - [#5427](https://github.com/cozystack/cozystack/pull/5427) `fix(kubernetes): stop refusing extraOutputs hooks monitoring-agents accepts`: builds on [#5376](https://github.com/cozystack/cozystack/pull/5376), which never reaches this line ### Maintainer overrides - [#5025](https://github.com/cozystack/cozystack/pull/5025) `test(harbor): pin the resources of the nginx proxy and the portal`: `backport/include`, on this branch - [#4985](https://github.com/cozystack/cozystack/pull/4985) `fix(etcd): stop counting canceled watch streams as failed gRPC requests`: `backport/include`, skipped by rule 1, `its 1 commit picked, the last in 38e408917936` - [#5005](https://github.com/cozystack/cozystack/pull/5005) `fix(tcp-balancer): cap HAProxy fds and threads by the pod's own limits`: `backport/include`, skipped by rule 1, `its 1 commit picked, the last in 7a3d0b0a5559` - [#5083](https://github.com/cozystack/cozystack/pull/5083) `fix(workloadmonitor): stop doubling the bucket- prefix in bucket Workload names`: `backport/skip`, left out - [#4973](https://github.com/cozystack/cozystack/pull/4973) `fix(kubernetes-nodes): refuse a partial resources spec on every pool`: `backport/skip`, left out - [#5180](https://github.com/cozystack/cozystack/pull/5180) `fix(tests): keep two unit tests green after the release image restamp`: `backport/skip`, left out - [#4993](https://github.com/cozystack/cozystack/pull/4993) `feat(monitoring): alert when pods of one workload share a node`: `backport/include`, on this branch - [#5352](https://github.com/cozystack/cozystack/pull/5352) `docs(gateway): stop saying the route-hostname policy admits hostname-less routes`: `backport/include`, on this branch - [#4990](https://github.com/cozystack/cozystack/pull/4990) `fix(redis, valkey, harbor): spread sentinels and data pods over nodes`: `backport/skip`, left out - [#4989](https://github.com/cozystack/cozystack/pull/4989) `fix(monitoring): spread monitoring replicas over nodes`: `backport/skip`, left out - [#5393](https://github.com/cozystack/cozystack/pull/5393) `fix(kubernetes-nodes): label worker disks with the WorkloadMonitor selector`: `backport/skip`, left out - [#4817](https://github.com/cozystack/cozystack/pull/4817) `feat(kubernetes): give each tenant Kubernetes cluster its own etcd`: `backport/skip`, left out - [#5407](https://github.com/cozystack/cozystack/pull/5407) `fix(ingress-nginx): turn off TLS session tickets for CVE-2026-97629`: `backport/include`, on this branch - [#5156](https://github.com/cozystack/cozystack/pull/5156) `fix(kafka)!: require SCRAM-SHA-512 on the external listener`: `backport/skip`, left out - [#5186](https://github.com/cozystack/cozystack/pull/5186) `ci(workflows): run push and schedule workflows only in cozystack/cozystack`: `backport/skip`, left out ### Skipped - Rule 1, already on `release-1.7`: 47 - Rule 2, the title type is not `fix` or `security`, or the scope is `deps`: 86, too many to list here; the run's output lists them - Rule 3, a breaking change: 8 - Rule 4, touches platform migrations, `targetVersion` or a CRD, or makes a sizeable API change: 4 - Dropped from `release-1.7` by a maintainer: 1 <details><summary>Rule 1, already on `release-1.7`</summary> - [#4815](https://github.com/cozystack/cozystack/pull/4815) `fix(vm-disk): name the importer error in the disk's WorkloadsReady message`, `its 2 commits picked, the last in 432336387019` - [#4756](https://github.com/cozystack/cozystack/pull/4756) `fix(backupstrategy-controller): run backup clients on a package-owned image`, `its 2 commits picked, the last in 4643366734f8` - [#4293](https://github.com/cozystack/cozystack/pull/4293) `fix(fluxcd): keep Helm uninstall working during flux-plunger recovery`, `its 1 commit picked, the last in 021040795b22` - [#4791](https://github.com/cozystack/cozystack/pull/4791) `fix(kubernetes): keep NFS publish from hanging on a dead server`, `its 1 commit picked, the last in fa88bd1c4902` - [#4830](https://github.com/cozystack/cozystack/pull/4830) `fix(multus): drop the CPU limit and make resources configurable`, `its 2 commits picked, the last in 363c8426bab7` - [#4865](https://github.com/cozystack/cozystack/pull/4865) `fix(kafka): pass the container limits to the Kafka JVMs`, `its 3 commits picked, the last in fc38a540c02f` - [#4866](https://github.com/cozystack/cozystack/pull/4866) `fix(linstor): mark volumes restored from a snapshot DRBD-initialized`, `its 1 commit picked, the last in f9550b71cc24` - [#4867](https://github.com/cozystack/cozystack/pull/4867) `fix(e2e): keep chainsaw asserts polling through transient API errors`, `its 1 commit picked, the last in df75adc11cfa` - [#4819](https://github.com/cozystack/cozystack/pull/4819) `fix(seaweedfs): build SeaweedFS in-tree with a bounded S3 read-ahead`, `its 5 commits picked, the last in 7f4c3463d2a9` - [#3427](https://github.com/cozystack/cozystack/pull/3427) `fix(backups): prepare standalone VMDisk restore targets and add VM backup/restore e2e round-trips`, `its 3 commits picked, the last in 4ac0cd581481` - [#4889](https://github.com/cozystack/cozystack/pull/4889) `fix(monitoring): send alerts to every Alertmanager replica`, `its 1 commit picked, the last in 5033d53410ba` - [#4929](https://github.com/cozystack/cozystack/pull/4929) `fix(backups): gate every default Strategy CR on its CRD`, `its 2 commits picked, the last in dee1eef5590b` - [#4914](https://github.com/cozystack/cozystack/pull/4914) `fix(fluxcd): close the flux-plunger review follow-ups for the hook, drain and Warnings`, `its 7 commits picked, the last in a8e491646a06` - [#4888](https://github.com/cozystack/cozystack/pull/4888) `fix(ci): dispatch frozen-line builds with GITHUB_TOKEN`, `its 1 commit picked, the last in bf81e2d9db22` - [#4939](https://github.com/cozystack/cozystack/pull/4939) `fix(cluster-api): resync capi-operator every minute`, `its 1 commit picked, the last in cc8d6a4f05a0` - [#5027](https://github.com/cozystack/cozystack/pull/5027) `fix(hack): keep the backup stack in the vminstance selective install`, `its 1 commit picked, the last in 8ba8386a2e5c` - [#4955](https://github.com/cozystack/cozystack/pull/4955) `fix(vm-disk): let CDI adopt the PVC a Velero restore recreates`, `its 2 commits picked, the last in 691d7bce038e` - [#4985](https://github.com/cozystack/cozystack/pull/4985) `fix(etcd): stop counting canceled watch streams as failed gRPC requests`, `its 1 commit picked, the last in 38e408917936` - [#5005](https://github.com/cozystack/cozystack/pull/5005) `fix(tcp-balancer): cap HAProxy fds and threads by the pod's own limits`, `its 1 commit picked, the last in 7a3d0b0a5559` - [#5071](https://github.com/cozystack/cozystack/pull/5071) `fix(marketplace): do not install a connected repository's components on connect`, `its 2 commits picked, the last in 25f8f11187b9` - [#5086](https://github.com/cozystack/cozystack/pull/5086) `fix(tenant): stop the gateway release waiting on TenantGateway listeners and certificates`, `its 1 commit picked, the last in 18b22495038b` - [#5087](https://github.com/cozystack/cozystack/pull/5087) `fix(controller): carry healthCheckExprs and waitStrategy to existing releases`, `its 1 commit picked, the last in d2a452e89067` - [#5088](https://github.com/cozystack/cozystack/pull/5088) `fix(ingress-nginx): drop the admission-webhook policy a rebase brought back`, `its 1 commit picked, the last in cf00b41e0e9a` - [#5142](https://github.com/cozystack/cozystack/pull/5142) `fix(release): keep release bodies within GitHub's size limit`, `its 1 commit picked, the last in c7405158634e` - [#4917](https://github.com/cozystack/cozystack/pull/4917) `fix(kubernetes): run Proxmox CCM v0.16.1 and pin the Proxmox images by digest`, `its 2 commits picked, the last in 8ff6dcacd3b5` - [#4974](https://github.com/cozystack/cozystack/pull/4974) `fix(kubernetes-nodes): plan autoscaler capacity on the cores the VM actually gets`, `its 1 commit picked, the last in d68a163c2d86` - [#4971](https://github.com/cozystack/cozystack/pull/4971) `fix(e2e): keep the Proxmox tenant kubeconfig per run and remove it`, `its 2 commits picked, the last in 77227c55e9d6` - [#4970](https://github.com/cozystack/cozystack/pull/4970) `fix(e2e): read the KubernetesNodes pool release in the HelmRelease guard`, `its 3 commits picked, the last in 6b17a76ef6cb` - [#4972](https://github.com/cozystack/cozystack/pull/4972) `fix(e2e): validate the leak allowlist against every suite layout`, `its 3 commits picked, the last in 7ec550b7b81f` - [#5082](https://github.com/cozystack/cozystack/pull/5082) `fix(marketplace): pin a tapped repository to a digest instead of a mutable tag`, `its 15 commits picked, the last in 9cff86f85124` - [#4004](https://github.com/cozystack/cozystack/pull/4004) `fix(dashboard): link a tenant row to its detail page`, `its 2 commits picked, the last in bd5e0b5e88b3` - [#5212](https://github.com/cozystack/cozystack/pull/5212) `fix(cilium): pass the CiliumNode list to jq on stdin in the IPAM hook`, `its 1 commit picked, the last in b28a2e228160` - [#5213](https://github.com/cozystack/cozystack/pull/5213) `fix(kubernetes): move the OIDC users out of the bootstrap Job's script`, `its 1 commit picked, the last in 02dd8e5454f8` - [#5208](https://github.com/cozystack/cozystack/pull/5208) `fix(clickhouse): restore the archive a Backup was taken as`, `its 3 commits picked, the last in 9ded5c5fc356` - [#5230](https://github.com/cozystack/cozystack/pull/5230) `fix(backups): re-render the default backup objects when the S3 endpoint changes`, `its 8 commits picked, the last in 490eab5b9aba` - [#5133](https://github.com/cozystack/cozystack/pull/5133) `fix(securitygroups): project a membership-only group to a policy Cilium accepts`, `its 1 commit picked, the last in b7c50a5e070f` - [#5091](https://github.com/cozystack/cozystack/pull/5091) `fix(postgres): render the declared databases in a stable order`, `its 1 commit picked, the last in b658dffe7c31` - [#5123](https://github.com/cozystack/cozystack/pull/5123) `fix(mariadb-operator): derive the cluster name from the platform domain`, `its 2 commits picked, the last in 17702dd57bab` - [#5151](https://github.com/cozystack/cozystack/pull/5151) `fix(redis): run one Sentinel when Redis runs a single pod`, `its 5 commits picked, the last in 5524a41b8586` - [#5124](https://github.com/cozystack/cozystack/pull/5124) `fix(lineage, kubernetes): resolve CAPK node VMs to their cluster`, `its 2 commits picked, the last in c90856088aff` - [#5184](https://github.com/cozystack/cozystack/pull/5184) `fix(api): read pool usage under the quota key the controller counts`, `its 1 commit picked, the last in 18c17af8d50f` - [#5190](https://github.com/cozystack/cozystack/pull/5190) `fix(platform): remove the dead registries value and patch-containerd Secret`, `its 2 commits picked, the last in 617f88943895` - [#5211](https://github.com/cozystack/cozystack/pull/5211) `fix(postgres): fail a backup job as soon as its cnpg Backup fails`, `its 1 commit picked, the last in 6645e21b9e0a` - [#5155](https://github.com/cozystack/cozystack/pull/5155) `fix(postgres): refuse system databases and never drop them`, `its 1 commit picked, the last in 6f1bb80f8004` - [#5207](https://github.com/cozystack/cozystack/pull/5207) `fix(mariadb): fail backup and restore jobs whose operator Job failed`, `its 5 commits picked, the last in ef3de554b99f` - [#5024](https://github.com/cozystack/cozystack/pull/5024) `fix(kubernetes, monitoring): send tenant cluster metrics to the tenant's vminsert`, `its 1 commit picked, the last in 423a75bb31db` - [#5284](https://github.com/cozystack/cozystack/pull/5284) `fix(seaweedfs): bump the COSI driver to v0.4.0 for the lost-grant fix`, `its 1 commit picked, the last in ffb38805ff71` </details> <details><summary>Rule 3, a breaking change</summary> - [#4790](https://github.com/cozystack/cozystack/pull/4790) `fix(platform)!: refuse a networking variant change on a live cluster`, `! in the title` - [#4796](https://github.com/cozystack/cozystack/pull/4796) `fix(vm-disk)!: refuse a golden-image clone CDI would leave unbound`, `! in the title` - [#5085](https://github.com/cozystack/cozystack/pull/5085) `fix(kubernetes, opensearch, foundationdb)!: restrict managed application images`, `! in the title` - [#4818](https://github.com/cozystack/cozystack/pull/4818) `fix(keycloak)!: make the KMS proxy keep its keys across restarts`, `! in the title` - [#5167](https://github.com/cozystack/cozystack/pull/5167) `fix(monitoring-agents)!: isolate merged log payload under log_processed`, `! in the title` - [#5009](https://github.com/cozystack/cozystack/pull/5009) `fix(cozy-lib)!: refuse memory below 1Mi instead of rendering a few bytes`, `! in the title` - [#5191](https://github.com/cozystack/cozystack/pull/5191) `fix(kubernetes)!: remove the talos block and other leftovers of the worker pool split`, `! in the title` - [#4802](https://github.com/cozystack/cozystack/pull/4802) `fix(vm-disk, kubernetes-nodes)!: refuse golden images whose import keeps failing`, `! in the title` </details> <details><summary>Rule 4, touches platform migrations, `targetVersion` or a CRD, or makes a sizeable API change</summary> - [#4941](https://github.com/cozystack/cozystack/pull/4941) `fix(backups): keep the backupstrategy-controller Helm release under the Secret size limit`, `a sizeable API change (breaking-change: [v1alpha1] spec.spec.template: field "metadata" was removed, and 5 more), a CRD` - [#5223](https://github.com/cozystack/cozystack/pull/5223) `fix(backups): report sizeBytes for MariaDB and CNPG backup artifacts`, `a CRD` - [#5166](https://github.com/cozystack/cozystack/pull/5166) `fix(linstor): update piraeus-operator to v2.12.1`, `a CRD` - [#5430](https://github.com/cozystack/cozystack/pull/5430) `fix(linstor): gate group snapshots on the v1 group snapshot API`, `platform migrations` </details> <details><summary>Dropped from `release-1.7` by a maintainer</summary> - [#5309](https://github.com/cozystack/cozystack/pull/5309) `fix(linstor): restore snapshots on a schedulable node`, `dropped on #5311: builds on linstor-csi v1.13.2 bump from #5166 which rule 4 keeps off this line, its patch 003 does not apply to v1.11.2` </details> ```backport-batch {"version":3,"line":"release-1.7","built":{"main":"40b4fc6ad4f39d3c449beee2a492fbd7f621b8ba","line":"c0b53abb72d8be7bd5f7cded36a44024784cbbf2","newer":"","policy":"40b4fc6ad4f39d3c449beee2a492fbd7f621b8ba","batch":"92a78f47274ea6f297d110d81f05a9e038a8a027","tool":"f91ffd8fa74b956c5b5180b2e606e7c585f95201","run":"","at":"2026-11-26T08:48:36Z","options":{"noWorkflowFiles":false,"mode":"continue"}},"report":"691a73a08288163240e424623654675e5104a035549a4ec617b74214bf8cc369","closing":null,"deferred":[],"dropped":[{"original":5309,"merge":"5dbfa1cfaddd9eaf30bf4b1eeca830cd9b242a0e","reason":"builds on linstor-csi v1.13.2 bump from #5166 which rule 4 keeps off this line, its patch 003 does not apply to v1.11.2","on":5311,"date":"2026-11-25"}],"stale":[],"parked":[{"original":5049,"merge":"2b1b7a4cc29e68e7efda016d40f05168dc36d19b","kind":"dependency","needs":[4802,5191,5393],"announced":true},{"original":5221,"merge":"e978ed7f2fcad22b80cbf077351cde494c9c4b8c","kind":"dependency","needs":[5223],"announced":true},{"original":5224,"merge":"8f0082a1c81fd27dcab7e558d292c251451001ba","kind":"dependency","needs":[5227,5232],"announced":true},{"original":5227,"merge":"526f08e17d2d499941e36f5f8451be9bcf3f4440","kind":"dependency","needs":[5223],"announced":true},{"original":5232,"merge":"3badbdef74f8295b6d556063a0abb69611475f10","kind":"dependency","needs":[5034],"announced":true},{"original":5294,"merge":"4f813fb6b2566bc508944047b65f4939861825d5","kind":"dependency","needs":[5221],"announced":true},{"original":5295,"merge":"2495ebfaa02c505be1844311d09f9b2fce728cc2","kind":"dependency","needs":[5221],"announced":true},{"original":5344,"merge":"e11ca91d8110a9e979344ef3053afc2e1321b381","kind":"dependency","needs":[5227],"announced":true},{"original":5375,"merge":"04fb5215a85860ff8c4a66c4b58d113a2e85076b","kind":"dependency","needs":[5167],"announced":true},{"original":5398,"merge":"1ab20ea96e64d48d5c9a160ee3f40093238d7dd5","kind":"dependency","needs":[4902],"announced":true},{"original":5415,"merge":"fc5ece0a289218cdb32a161780872dce0729fdd9","kind":"dependency","needs":[5224],"announced":true},{"original":5426,"merge":"0d75b0e3526489d27612f6fc5a6ad3848d96e217","kind":"dependency","needs":[5050,5252],"announced":true},{"original":5427,"merge":"7067313c95f6d308b310606afb96155e25b41d10","kind":"dependency","needs":[5376],"announced":true}],"changed":[5045,5119,5153,5229]} ``` ```backport-batch-report {"format":2,"id":"691a73a08288163240e424623654675e5104a035549a4ec617b74214bf8cc369","line":"release-1.7","built":{"main":"40b4fc6ad4f39d3c449beee2a492fbd7f621b8ba","line":"c0b53abb72d8be7bd5f7cded36a44024784cbbf2","newer":"","policy":"40b4fc6ad4f39d3c449beee2a492fbd7f621b8ba","batch":"92a78f47274ea6f297d110d81f05a9e038a8a027","tool":"f91ffd8fa74b956c5b5180b2e606e7c585f95201","run":"","at":"2026-11-26T08:48:36Z","options":{"noWorkflowFiles":false,"mode":"continue"}},"overrides":{"backport/include":[4985,4993,5005,5025,5352,5407],"backport/skip":[4817,4973,4989,4990,5083,5156,5180,5186,5393]},"primary":{"picked":[4167,4234,4797,4893,4896,4915,4920,4945,4946,4948,4954,4960,4963,4965,4984,4986,4993,5011,5025,5045,5094,5096,5098,5100,5102,5114,5119,5134,5148,5152,5153,5160,5175,5183,5189,5210,5226,5228,5229,5242,5249,5250,5265,5270,5280,5308,5326,5329,5331,5340,5348,5352,5354,5356,5357,5358,5364,5373,5377,5392,5399,5403,5405,5407,5436,5443],"missing":[],"deferred":[],"parked":[{"original":5049,"merge":"2b1b7a4cc29e68e7efda016d40f05168dc36d19b","kind":"dependency","needs":[4802,5191,5393]},{"original":5221,"merge":"e978ed7f2fcad22b80cbf077351cde494c9c4b8c","kind":"dependency","needs":[5223]},{"original":5224,"merge":"8f0082a1c81fd27dcab7e558d292c251451001ba","kind":"dependency","needs":[5227,5232]},{"original":5227,"merge":"526f08e17d2d499941e36f5f8451be9bcf3f4440","kind":"dependency","needs":[5223]},{"original":5232,"merge":"3badbdef74f8295b6d556063a0abb69611475f10","kind":"dependency","needs":[5034]},{"original":5294,"merge":"4f813fb6b2566bc508944047b65f4939861825d5","kind":"dependency","needs":[5221]},{"original":5295,"merge":"2495ebfaa02c505be1844311d09f9b2fce728cc2","kind":"dependency","needs":[5221]},{"original":5344,"merge":"e11ca91d8110a9e979344ef3053afc2e1321b381","kind":"dependency","needs":[5227]},{"original":5375,"merge":"04fb5215a85860ff8c4a66c4b58d113a2e85076b","kind":"dependency","needs":[5167]},{"original":5398,"merge":"1ab20ea96e64d48d5c9a160ee3f40093238d7dd5","kind":"dependency","needs":[4902]},{"original":5415,"merge":"fc5ece0a289218cdb32a161780872dce0729fdd9","kind":"dependency","needs":[5224]},{"original":5426,"merge":"0d75b0e3526489d27612f6fc5a6ad3848d96e217","kind":"dependency","needs":[5050,5252]},{"original":5427,"merge":"7067313c95f6d308b310606afb96155e25b41d10","kind":"dependency","needs":[5376]}],"skipped":{"on-line":[3427,4004,4293,4756,4791,4815,4819,4830,4865,4866,4867,4888,4889,4914,4917,4929,4939,4955,4970,4971,4972,4974,4985,5005,5024,5027,5071,5082,5086,5087,5088,5091,5123,5124,5133,5142,5151,5155,5184,5190,5207,5208,5211,5212,5213,5230,5284],"before-start":[],"type":[2622,2664,2665,3149,3382,3440,3777,3780,4495,4508,4845,4859,4860,4861,4869,4877,4879,4881,4898,4899,4900,4902,4931,4936,4940,4944,4952,4953,4959,4969,4983,4997,5000,5034,5039,5043,5046,5050,5090,5106,5110,5112,5144,5168,5171,5174,5188,5214,5215,5216,5217,5218,5219,5220,5237,5239,5240,5252,5254,5260,5264,5266,5267,5269,5277,5282,5286,5287,5288,5306,5310,5318,5334,5336,5349,5360,5362,5372,5374,5376,5404,5408,5411,5424,5425,5428],"breaking":[4790,4796,4802,4818,5009,5085,5167,5191],"touches":[4941,5166,5223,5430],"newer":[],"skip-label":[4817,4973,4989,4990,5083,5156,5180,5186,5393],"dropped":[5309]}},"overlays":{"dropped":[{"original":5309,"merge":"5dbfa1cfaddd9eaf30bf4b1eeca830cd9b242a0e","reason":"builds on linstor-csi v1.13.2 bump from #5166 which rule 4 keeps off this line, its patch 003 does not apply to v1.11.2","on":5311,"date":"2026-11-25"}],"stale":[],"changed":[5045,5119,5153,5229]},"diag":{},"other":[]} ``` ### Screenshots See the original pull requests. ### Downstream repositories - [ ] 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: - [ ] [cozystack/community](https://github.com/cozystack/community) - follow-up: ### Release note ```release-note fix(platform): a root tenant without ingress no longer leaves seaweedfs-system waiting for an ingress-nginx-system release that is never created. Set the new platform value ingress.rootEnabled to false to match Tenant/root spec.ingress: false. fix(seaweedfs): S3 bucket lifecycle rules can now be enforced. Simple and MultiZone SeaweedFS instances run the SeaweedFS admin server and a lifecycle worker when the new `lifecycle.enabled` value is set; it is off by default, so existing instances keep their current behaviour. It stays off by default because the upstream daily expiry walk deletes without checking that the object it listed is still the one stored, so an object overwritten in that window can be deleted although it is new. When enabled, rules that were stored but ignored start applying within minutes and objects they have already expired are deleted on that first pass; review existing rules first. Each enabled instance gains two small pods and a 1Gi volume, placed on `lifecycle.storageClass` or the cluster default. Independently of the switch, the s3 gateway now serves its internal gRPC over mTLS, which repairs IAM cache propagation between s3 replicas and restarts the s3 pods once on upgrade. fix(monitoring-agents): disabling the Monitoring Agents addon of a tenant Kubernetes cluster no longer leaves the monitoring-agents release stuck in UninstallFailed when the VictoriaMetrics operator is removed first; a pre-delete hook now releases the VictoriaMetrics objects' finalizers, and the VPA is only rendered when its CRD is served. fix(vm-instance): an external PortList VM with an empty port list no longer fails to deploy; it keeps its external IP and blocks all inbound TCP and UDP traffic. fix(seaweedfs): stop SeaweedFS masters crashing with "concurrent map read and map write" under write load, which made S3 answer 500 (backport of seaweedfs/seaweedfs#11216 onto 4.45). fix(backups): the barman-cloud sidecar of Postgres backups now has an explicit one-core CPU limit instead of inheriting the tenant LimitRange's 250m default, which made full backups and WAL archiving several times slower. Each instance pod of a tenant with a CPU quota now counts 750m more against `limits.cpu`; check the headroom before instance pods are recreated. Existing ObjectStores pick the limit up at their next backup (platform-managed) or HelmRelease upgrade (chart-rendered), and running pods at their next restart. fix(etcd): the tenant etcd defrag job requests 10m and 32Mi instead of 200m and 256Mi, so it runs in tenants whose quota is nearly used up by their own services. fix(monitoring): vmalert metrics are collected again. The vmalert VMServiceScrape selected app.kubernetes.io/instance=vmalert while the Service is labelled vmalert-<first metrics storage>, so it matched nothing. fix(ingress-nginx): raise the client keepalive_time from the nginx 1h default to 12h, so long-lived HTTP/2 connections (for example kopia maintenance against S3) are no longer cut by a GOAWAY after one hour fix(etcd): tenant etcd members now spread over nodes with whenUnsatisfiable DoNotSchedule by default, so two members of one etcd no longer start on the same node while another node has none. Members that exist are not moved, only members created after the upgrade get the new constraint. An etcd created while the cluster had fewer nodes than members puts two or three members on one node. Once a node is added, such a member whose Pod is recreated (drain, eviction, graceful node shutdown) stays Pending, because maxSkew rejects its own node and its node-local volume rules out the others. With two nodes grown to three the etcd runs two of three members and its PodDisruptionBudget blocks draining the other nodes. With one node grown to three a reboot of that node brings back one member of three and quorum is lost. A stranded member is replaced by deleting its EtcdMember while the other members keep quorum. Its Pod and PVC go with it, and the replacement gets a new Pod and PVC on the node without a member. Right after adding nodes, doing this for one co-located member at a time while all members are Ready avoids the case. With nodeTaintsPolicy Ignore a node the etcd Pods cannot tolerate, such as a tainted control plane, counts as a node with zero members, so no node can take a second member. On a cluster with such a node and fewer schedulable nodes than members, a new etcd starts only as many members as there are schedulable nodes, one of three on a single schedulable node. An existing etcd there keeps its members, but a member it replaces stays Pending the same way. Either case is avoided by setting scheduling.globalAppTopologySpreadConstraints in spec.components.platform.values of the cozystack.cozystack-platform Package to a topologySpreadConstraints entry with maxSkew 1, topologyKey kubernetes.io/hostname and whenUnsatisfiable ScheduleAnyway before the upgrade. Every app chart that reads this value applies it, two members of a new etcd can share a node again, and the operator gives it only to members created after it adopts the changed EtcdCluster spec into status.observed. Once status.observed.topologySpreadConstraints of an EtcdCluster shows ScheduleAnyway, a member of it that stays Pending is replaced by deleting its EtcdMember. fix(kubernetes): remove stale hotplug volumes when the infra PVC is missing, preventing deleted volumes from blocking subsequent attachments fix(vm-disk): a new disk from a golden image is now refused at render time when its storage is smaller than the image, with a message that names both sizes. Before, CDI refused the clone with CloneValidationFailed, the disk stayed pending forever, and raising its storage afterwards did not help. The default images are 20Gi and the default storage is 5Gi, so a disk from one of them needs storage set to 20Gi or more. fix(monitoring-agents): a Watchdog that stops reaching Alerta now raises a major HeartbeatFail about six minutes later. It used to raise an ok alert after a day. fix(monitoring): InfoInhibitor no longer reaches Alerta as a major alert. It carries severity none again, which the platform Alertmanager routes to the blackhole, as upstream kube-prometheus intends. Before, any active alert with severity info, from a custom rule or from one CDI or KubeVirt generates, raised a major InfoInhibitor in Alerta and in its Telegram and Slack notifications. fix(vertical-pod-autoscaler): the admission controller runs two replicas spread over nodes with a PodDisruptionBudget, so pods created during a drain still get their VPA recommendation. feat(monitoring): new warning alert PodReplicasColocated fires when two or more running pods of one StatefulSet, ReplicaSet, CNPG Cluster, StrimziPodSet or etcd cluster have shared a node for an hour while the cluster has a schedulable node for each of them. fix(seaweedfs): set GOMEMLIMIT on master, volume (and each pool and zone), filer, s3 and the lifecycle admin and worker so the Go runtime collects before the container hits its memory limit instead of being OOM-killed fix(workloadmonitor): a Bucket app reports WorkloadsReady=False with reason BucketClaimNotReady while its BucketClaim is not provisioned, instead of WorkloadsReady=True. fix(kubevirt): tenant admins can upload an image into a VMDisk created with source upload using virtctl image-upload. The tenant admin and super-admin roles get get on persistentvolumeclaims and create on upload.cdi.kubevirt.io/uploadtokenrequests, and the vm-disk notes print the command with --no-create. fix(apps): Job and CronJob names now fit the Kubernetes limits for the longest application names. A Kafka with a name of 42 to 44 characters can now be installed, long VMDisk and VMInstance names no longer fail a resize or an instance type change, long Bucket and Qdrant names and long nested tenant namespaces no longer fail deletion, and long MariaDB and ClickHouse names no longer fail the release with the backup CronJob enabled. fix(piraeus-operator): the LINSTOR error-report alerts no longer fire on old reports when the LINSTOR controller pod moves to another node, when an external label of the scrape changes, or when a satellite reconnects within an hour. They now count reports per node, and their alerts carry the node's hostname instead of the controller pod's instance, job and controller_node labels. fix(keycloak, foundationdb): keycloak-operator and foundationdb-operator now replace their CRDs on upgrade. Clusters upgraded from before v1.2.0 kept the v1.25.0 keycloak-operator CRDs, under which the apiserver dropped the Keycloak realm session settings and Keycloak could reject the dashboard client, and clusters upgraded from before v1.6.0 kept the v2.13.0 foundationdb-operator CRDs. fix(tcp-balancer): the Service now publishes ports 6443 and 50000 only when kubernetesAndTalos is set, like the Deployment and the HAProxy config. Before, every tcp-balancer Service carried both ports with no container port behind them, on the LoadBalancer too when external was enabled, and a release with kubernetesAndTalos but without httpAndHttps had no Service port for them. fix(cozystack-basics): refuse a direct DELETE of a tenant namespace unless it comes from helm-controller or the garbage collector, and point to deleting the Tenant instead, so a tenant namespace deleted by hand no longer gets stuck Terminating on Kamaji finalizers [vpa] Shorten the VPA admission webhook timeout to 5s so pod creation does not stall cluster-wide while the admission controller is unreachable. fix(ci): a PR behind main no longer installs a never-pushed placeholder tag for a new first-party image, such as observability-proxy:v0.0.0, when that package's values.yaml changed on main since the PR's merge commit. fix(controller, platform): sub-tenants without their own resourceQuotas now receive their parent pool's container defaults (LimitRange) alongside the allocated quota, when that quota bounds a CPU or memory limit, so pods that omit such a limit, such as the postgres barman-cloud backup sidecar, are no longer rejected at admission. fix(tests): fail negative file assertions on invalid patterns or unreadable artifacts and share the helper across Bats suites. fix(etcd): scope tenant etcd alerts to their release and avoid duplicate tenant peer RTT alerts from the global rules fix(cozy-lib): a tenant quota with hugepages-2Mi or hugepages-1Gi now renders only requests.hugepages-<size>, so the tenant installs and its huge pages are bounded. fix(seaweedfs): grant existing bucket credentials the Object Lock actions required by SeaweedFS 4.48 on install and upgrade, preserving their bucket restrictions and credentials. fix(seaweedfs): remove S3 identities left behind by deleted BucketAccesses on install and upgrade. The new cosi.orphanIdentities value (auto, report, delete) controls it; auto only reports on a filer published to Client-topology clusters. fix(kamaji): stop writing kubelet config fields that older tenant Kubernetes versions do not know, such as memoryReservationPolicy on tenants before v1.36, so strict decoders of the kubelet-config ConfigMap no longer fail. fix(backups): a BackupJob whose Velero backup ends Failed, PartiallyFailed or FailedValidation now asks Velero to delete that backup and its data in the bucket, instead of leaving them until Velero's TTL expires. A Velero backup that completed is never deleted this way. If Velero cannot carry out the deletion (for example, the backup storage location is missing, read-only or unavailable), the BackupJob gets a `VeleroBackupDeletionFailed` Warning event with Velero's errors, and the deletion is retried at a growing interval of up to one hour. After upgrading, the Velero backups of BackupJobs that already failed are deleted as well; to keep one for a manual `velero restore`, copy it before the upgrade. The backupstrategy-controller ClusterRole gains `delete` on `deletebackuprequests`. fix(opensearch): mitigate CVE-2026-114938 (Java4Shell) by starting OpenSearch nodes with -XX:-UseBASE64Intrinsics, which disables the vulnerable OpenJDK Base64 decoder. Every OpenSearch cluster restarts once on upgrade. fix(lineage-webhook): a Secret created with `internal.cozystack.io/tenantresource: "false"` keeps that label even where its ApplicationDefinition selects the name, so a chart can take a Secret off the tenantsecrets projection; a rendered `"true"` is still overwritten by the definition's verdict. fix(ingress-nginx): the ingress-nginx controller now runs nginx 1.25.5 rebuilt with the HTTP/2 fixes for CVE-2026-123633 and CVE-2026-123007. nginx still reports version 1.25.5. fix(qdrant): restore metrics scraping for TLS-enabled instances by using HTTPS and verifying the server certificate against the issued CA. fix(kubernetes): remove cilium dependency from coredns HelmRelease to prevent a circular startup deadlock when Hubble Relay is enabled fix(platform): an unquoted false in _cluster.ingress-enabled or _cluster.monitoring-enabled now turns off the tenant-root ingress key and the monitoring redirects. fix(securitygroups): a port range now gets a clear "port ranges are not supported" error, and a malformed toFQDNs matchName or matchPattern is rejected on the SecurityGroup field instead of failing on the backing CiliumNetworkPolicy. docs(gateway): the Gateway README no longer says the route-hostname policy admits routes without hostnames; since 1.7 it rejects them in tenant namespaces. fix(postgres): a user named `app` no longer loses its password when the Postgres pod restarts. CNPG re-applied its own generated password to the `app` owner role on every pod start; the chart now hands CNPG the password stored in `<release>-credentials`. fix(seaweedfs): the Lance catalog ingress and the worker's Lance namespace URL now point at the renamed `<name>-s3` Service. fix(linstor): linstor-affinity-controller and linstor-scheduler now restart when their LINSTOR client certificate is rotated, instead of failing every LINSTOR API call with EOF once the certificate they loaded at startup expires. fix(api): an ApplicationDefinition with an unparseable release.cozystack.io/* annotation or an invalid openAPISchema is now skipped and logged instead of stopping cozystack-api from starting. fix(gateway): the DNS-01 wildcard Certificate no longer lists a child tenant's apex that the parent's wildcard already covers, so Let's Encrypt stops refusing the order and the parent Gateway gets its certificate again. fix(linstor): the NFS server's linstor-wait-node-online init container now runs the platform-built linstor-csi image instead of the operator's default. fix(api): a resourceVersion from a WorkloadMonitor-triggered Application watch event now works as a delete precondition, and the event's spec matches its version. fix(gateway): give the edge TenantGateway listener its own allowed-routes copy; rendered Gateway configuration is unchanged fix(api): reject new workload memory values below 1Mi before storing an application. Updates to unrelated fields on existing applications with smaller values still pass admission. fix(harbor): Harbor registry storage is billed again. The WorkloadMonitor controller finds BucketClaims by label, and the registry BucketClaim had no labels. It now carries the registry monitor's `release` and `component` labels, so its storage shows up as Workload under the registry WorkloadMonitor, the same way the registry PVC did before it moved to S3. And also registry WorkloadMonitor now reports not operational while the BucketClaim is not provisioned fix(platform): system PostgreSQL databases (Keycloak, Harbor, Grafana, Alerta, SeaweedFS) move from 17.7 to 17.12-standard-trixie, which fixes CVE-2026-116331. On upgrade each of these databases is rolled: replicas first, then the primary is restarted in place, with a brief interruption of a few minutes per database. fix(tenant): the tenant LimitRange now defaults cpu, memory and ephemeral-storage only when resourceQuotas bounds that resource, so a quota without memory no longer gives containers a 128Mi default memory limit that kept VMs from starting. fix(cozystack-basics): tenant super-admins can no longer create, edit or delete `kubevirt.io` VirtualMachines directly; they keep read and watch. Virtual machines are managed through VMInstance and VMDisk applications, power through the start/stop/restart actions. The install e2e now fails when a tenant super-admin gains a write verb outside a checked-in allowlist. fix(ingress-nginx): TLS session tickets are turned off in the ingress-nginx controller (CVE-2026-97629). TLS session resumption keeps working through the shared session cache. fix(postgres): tenant PostgreSQL moves to the minors that fix CVE-2026-116331 (18.7, 17.12, 16.16, 15.20, 14.25) on the standard-trixie image variant. Upgrading rolls every Postgres instance. - PostgreSQL 13 has no fixed release: it keeps 13.22 and stays exposed to CVE-2026-116331, and it still takes the image move and the index rebuild described below. 14.25 is the last release of the 14 line. Plan a move to a newer major for clusters on 13 and 14. - For the default flavor the image moves from Debian bullseye to trixie, which changes glibc and ICU. The upgrade rebuilds the indexes that depend on a non-C collation. Until that rebuild finishes such an index can return incomplete results and a unique one can accept duplicates, so plan a maintenance window if you use ICU or locale-specific collations. Databases created with the chart defaults use the C collation and are not affected. - An exclusion constraint's index is rebuilt in place, and its table is neither read nor written meanwhile. - When a rebuild cannot finish inside the upgrade Job, the release stays failed and the Job is retried. After two failed attempts the Job stops rebuilding that index, names it in its log and keeps failing until an operator steps in. Expect this for a large index on a non-C collation: rebuild it by hand with `REINDEX INDEX CONCURRENTLY`, drop the invalid `_ccnew` indexes the failed attempts left on its table, and the next run completes. A unique index fails the same way while it holds duplicates, which have to be removed first. - Tables range-partitioned on a text key with a non-C collation need a manual check, after which the collation version is refreshed by hand. - On the postgis flavor PostGIS moves from 3.6.1 to 3.7.0, and the upgrade does not update the extension in existing databases: once the new image has rolled out to the primary, run `ALTER EXTENSION postgis UPDATE` in each database that uses it. fix(platform): the cert-manager-issuers release no longer waits for ClusterIssuers to become Ready, so an unreachable ACME endpoint (staging included) does not hold other platform packages in DependencyNotReady. fix(kubernetes-nodes): a worker pool rollout now adds one replacement worker at a time instead of up to the pool's maxReplicas, bounding the extra capacity a rollout uses in the tenant's namespace. Large pools roll out more slowly. fix(ingress): restore visitor IP handling for Cloudflare-proxied HTTPS through ssl-passthrough while rejecting spoofed `CF-Connecting-IP` headers before IP whitelists fix(ingress-nginx): the ingress-nginx controller's nginx 1.25.5 now carries the fixes for CVE-2025-23419, CVE-2026-1642, CVE-2026-9256, CVE-2026-42055, CVE-2026-42945, CVE-2026-97629, CVE-2026-118899, CVE-2026-121810, CVE-2026-123634, CVE-2026-125283 and CVE-2026-132779. nginx still reports version 1.25.5. ```v1.7.2-rc.1 |
||
|
|
92a78f4727 |
fix(ingress-nginx): pick up the nginx rebuild with the remaining CVE fixes (#5436)
## What this PR does
Moves the ingress-nginx controller from `v1.11.6-cozystack.1` to
`v1.11.6-cozystack.3`. It is the same v1.11.6 controller and nginx
1.25.5, rebuilt with the rest of the nginx fixes the controller can
reach. cozystack.1 had only the two HTTP/2 fixes.
| Fork PR | nginx commits | Fixes |
| --- | --- | --- |
| cozystack/ingress-nginx-with-protobuf-exporter#14 | 6, from 1.30.7 |
CVE-2026-118899 (SSL request body loop, also HTTP/3), CVE-2026-123634
(resolver), CVE-2026-121810 (HTTP/3), CVE-2026-125283 (`try_files` with
`alias`) |
| cozystack/ingress-nginx-with-protobuf-exporter#15 | 10, from 1.26.3 to
1.30.8 | CVE-2025-23419 (TLSv1.3 resumption across SNI names),
CVE-2026-1642 (HTTPS backends), CVE-2026-42945 and CVE-2026-9256
(`rewrite`), CVE-2026-42055 (gRPC backends), CVE-2026-97629 (session
tickets), CVE-2026-132779 (`ssl-early-data`) |
Advisories that need a module the controller does not build (mail, dav,
mp4, slice) or a directive the template does not emit are left out, as
is the CVE-2026-42533 series: it rewrites the script engine the Lua
modules build on, and the template's maps carry no regex that reaches
it. The fork's `images/controller/PROVENANCE.md` lists every patch.
CVE-2026-97629 is the one reachable on platform defaults; #5407 already
turned session tickets off as a mitigation. This image fixes it in
nginx, and the `ssl-session-tickets: "false"` setting stays as it is.
Checked on the published image (`sha256:059a75d5…`, amd64 and arm64),
without running it:
- the nginx binary reports 1.25.5 with the same configure arguments as
in cozystack.1 and .2, and differs from the one in cozystack.2;
- it carries strings the new patches add, such as the gRPC header length
errors and `SSL_SESSION_get0_hostname`;
- it keeps `cap_net_bind_service` in its file capabilities.
The fork's build compares the configure arguments with the shipped
binary and fails on a mismatch. `nginx -t` and a live request were not
run for this image, and neither was a live cluster.
`nginx -v` still says 1.25.5, so scanners that match on the version will
keep flagging it.
### 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:
- [ ] [cozystack/community](https://github.com/cozystack/community) -
follow-up:
### Release note
```release-note
fix(ingress-nginx): the ingress-nginx controller's nginx 1.25.5 now carries the fixes for CVE-2025-23419, CVE-2026-1642, CVE-2026-9256, CVE-2026-42055, CVE-2026-42945, CVE-2026-97629, CVE-2026-118899, CVE-2026-121810, CVE-2026-123634, CVE-2026-125283 and CVE-2026-132779. nginx still reports version 1.25.5.
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **Updates**
* Updated the ingress controller to a newer build.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Backported-from:
|
||
|
|
692f78c082 |
fix(ingress-nginx): pick up the nginx rebuild with the remaining CVE fixes
The v1.11.6-cozystack.3 controller image adds to nginx 1.25.5 the
fixes for the remaining advisories the controller can reach, from
nginx 1.26.3 to 1.30.8.
Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit
|
||
|
|
d3711f2380 |
fix(bucket): refuse COSI classes of another SeaweedFS instance
BucketClass and BucketAccessClass are cluster-scoped and every SeaweedFS instance names its classes after its own namespace. The bucket chart builds class names from the resolved SeaweedFS namespace and the free-form storagePool, and a child tenant's namespace is its parent's namespace plus its name, so a storagePool could produce the name of a class that belongs to a different tenant's instance and provision the bucket there. Before rendering, the chart now looks up every class the release will reference and refuses the render when a class exists with a driver other than the resolved instance's, or when storagePool is set and the class does not exist. The driver, not the name, identifies the instance, and requiring the pool class to exist keeps a claim from waiting for a matching class to appear later. The check fails a release that already references such a class on its next upgrade; a bucket with a pool of its own instance, or with no pool, renders unchanged. Offline renders, where the release namespace is not found, skip the check. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la> |
||
|
|
290132a8f2 |
fix(ingress): restore visitor IPs through SSL passthrough (#5443)
## What this PR does
Closes #5327.
With `cloudflareProxy: true`, HTTPS reaches nginx through
ssl-passthrough on loopback, so an IP whitelist sees `127.0.0.1` instead
of the visitor and rejects legitimate Cloudflare traffic. This change
validates the original transport peer before the whitelist, restoring
the visitor IP for Cloudflare requests without reopening the spoofing
fixed by #4444.
Direct HTTPS requests that bypass Cloudflare still appear as
`127.0.0.1`, as before.
### Validation
- `helm unittest packages/extra/ingress`: 34/34 tests passed, including
a separate run with helm-unittest 1.1.2.
- `make --directory=packages/extra/ingress show NAMESPACE=tenant-root`:
passed against the test cluster after rebasing on `upstream/main`.
- On an isolated ingress-nginx v1.11.6 controller, `nginx -t` passed.
Spoofed headers over HTTP and HTTPS returned 403. A trusted Cloudflare
PROXY-protocol source with an allowed visitor passed the whitelist and
the access log contained the visitor IP; an untrusted source or a
visitor outside the whitelist returned 403.
- A real Cloudflare end-to-end request was not tested.
### Screenshots
Not applicable; this PR does not change the UI.
### Downstream repositories
- [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:
- [ ] [cozystack/community](https://github.com/cozystack/community) -
follow-up:
### Release note
```release-note
fix(ingress): restore visitor IP handling for Cloudflare-proxied HTTPS through ssl-passthrough while rejecting spoofed `CF-Connecting-IP` headers before IP whitelists
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **Bug Fixes**
* Cloudflare-proxied ingress accepts `CF-Connecting-IP` only from
trusted Cloudflare address ranges and returns HTTP 403 when an untrusted
source provides the header.
* When no PROXY protocol address is available, source checks use the
direct connection address.
* Loopback addresses are included in trusted real-IP ranges, and the
existing keepalive setting is preserved.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Backported-from:
|
||
|
|
9d5ea2b919 |
style(ingress): drop blank lines from the Cloudflare geo block
The range over the Cloudflare ranges kept the newlines around its
actions, so the rendered geo block had an empty line between every
entry. nginx accepts either form; the trimmed one is easier to read
when debugging the generated config.
Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
(cherry picked from commit
|
||
|
|
ad3e088104 |
fix(ingress): restore visitor IPs through SSL passthrough
With cloudflareProxy enabled, HTTPS reaches nginx from the
ssl-passthrough proxy on loopback. Without trusting that proxy, the
whitelist sees 127.0.0.1 instead of the visitor address; trusting it
without checking the PROXY-protocol peer would reopen the spoofing
closed by #4444.
Checking the transport peer before the whitelist preserves that
protection, while port 80 needs its direct peer because no
PROXY-protocol address exists there.
Tested with helm-unittest and an isolated ingress-nginx controller:
trusted PROXY peers pass the whitelist with the restored visitor
address, while spoofed headers on HTTP and HTTPS return 403.
Closes: #5327
Assisted-by: LLM
Signed-off-by: toribru <161638395+toribru@users.noreply.github.com>
(cherry picked from commit
|
||
|
|
59f8b24e27 |
fix(kubernetes-nodes): surge one worker at a time during a pool rollout (#5399)
<!-- Thank you for making a contribution! Here are some tips for you:
- Use Conventional Commits for the PR title: `type(scope): description`
- Types: feat, fix, security (a fix that comes through a security
advisory), docs, style, refactor, perf, test, build, ci, chore
- Scopes are not an exhaustive list — pick the most specific scope for
the change and extend the list when a genuinely new area appears.
Examples:
- System components: dashboard, platform, operator, cilium, kube-ovn,
linstor, fluxcd, cluster-api
- Managed apps: postgres, mariadb, redis, kafka, clickhouse,
virtual-machine, kubernetes
- Development and maintenance: api, hack, tests, ci, docs, maintenance
- Breaking changes: append `!` after type/scope (`feat(api)!: ...`) or
add a `BREAKING CHANGE:` footer
- If it's a work in progress, consider creating this PR as a draft.
- Don't hesistate to ask for opinion and review in the community chats,
even if it's still a draft.
- Fixes merged to `main` reach the release lines the backport batch runs
for automatically, so do not open backport PRs by hand:
https://github.com/cozystack/cozystack/blob/main/docs/release/backports.md
-->
## What this PR does
A worker pool rollout (instance type, image or version change) currently
surges up to `maxReplicas` new VMs before draining an old one, so a pool
running 8 workers under a ceiling of 10 can reach 18 VMs at its peak.
Those VMs land in the tenant's namespace: today they count against its
`ResourceQuota`, and under [tenant quotas as reservation
limits](https://github.com/cozystack/community/pull/48), where a pool
reserves `maxReplicas` workers, they are capacity nobody reserved. This
PR fixes the surge at one Machine per pool.
The surge is treated as platform margin rather than tenant budget:
rollouts are mostly platform-driven, and charging them to the tenant
would block a platform upgrade for any tenant whose pool sits at its
ceiling. Bounding that margin is what this PR does. `maxUnavailable` is
untouched, so a node is still only drained once its replacement is up
(#5153).
The value is the open question for maintainers. **1** keeps the loan to
a single worker per pool and is what this PR ships; a large pool then
rolls one worker at a time. **2** halves the rollout time of a large
pool at twice the margin. I would rather not make it a chart value,
since tenants write the values and would then size the platform's margin
themselves.
Tested with `helm unittest` on `kubernetes-nodes`; the three golden
renders change only in `maxSurge`.
Refs: cozystack/community#48, cozystack/cozystack#5397
### Screenshots
Not a UI change.
### Downstream repositories
<!--
Cozystack is upstream for repositories that are NOT kept in sync with it
automatically, and nothing in CI compares the two sides, so a change
here can break them silently.
Which change forces what, and which file to touch, is the trigger map in
docs/agents/contributing.md under "Downstream Repositories". Walk it
before you tick anything.
IF YOU ARE AN AI AGENT OR AN LLM, THIS IS PART OF THE TASK, NOT A FORM
TO FILL IN:
1. Walk the trigger map against the actual diff of this PR, file by
file. Do not decide from the PR title or from your memory of what you
changed.
2. For every repository you tick, open the follow-up PR there and link
it on the same line. A ticked box with no link claims work that does not
exist, which is worse than an empty box. Search that repository for an
open PR or issue covering it first, and link that instead of filing a
duplicate.
3. When the follow-up is out of scope, or needs a decision that is not
yours to make, open an issue in that repository instead, link that, and
say so in the PR body. Do not push a speculative PR into another
repository just to fill a line here.
4. Do not tick "No downstream repository is affected" to make the
checklist go away. If you are unsure, leave every box empty and say so
in the PR body, so a human decides.
-->
I walked the trigger map against the diff: one template line, its
comment and its tests. No values key, schema, default, version enum or
release name 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:
- [ ] [cozystack/community](https://github.com/cozystack/community) -
follow-up:
### Release note
<!-- Write a release note:
- Explain what has changed internally and for users.
- Start with the same `type(scope):` prefix as in the PR title
- Follow the guidelines at
https://github.com/kubernetes/community/blob/master/contributors/guide/release-notes.md.
-->
```release-note
fix(kubernetes-nodes): a worker pool rollout now adds one replacement worker at a time instead of up to the pool's maxReplicas, bounding the extra capacity a rollout uses in the tenant's namespace. Large pools roll out more slowly.
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **Behavior Changes**
* Rolling updates now allow a fixed surge of one worker at a time,
regardless of the pool’s maximum replica count. Pools with higher
replica limits no longer increase the surge allowance. This change
applies even when the pool’s minimum and maximum replica counts are both
set to five. The existing default and explicitly configured
`maxUnavailable` behavior remain unchanged.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Backported-from:
|
||
|
|
9e26a289d4 |
fix(platform): do not gate cert-manager-issuers on ClusterIssuer readiness (#5210)
## What this PR does
This PR makes the cert-manager-issuers release stop waiting for
ClusterIssuers to become Ready. ClusterIssuer is Ready only after
cert-manager registered an ACME account with the CA, so when
letsencrypt-stage can't reach the staging endpoint, helm upgrade of the
release hangs until timeout with `timeout waiting for:
[ClusterIssuer/letsencrypt-stage status: 'InProgress']`. The release
stays not Ready and every package that dependsOn cozystack.cert-manager
stays in DependencyNotReady, even when letsencrypt-prod works and all
certificates are already issued.
Fix is `healthCheckExprs` with `current: "true"` for ClusterIssuer on
the component, the same mechanism vm-default-images uses. It covers the
prod issuer too, I did not special-case staging because the wait is the
same.
Issuers keep their own status and retry registration, so they start
issuing when the CA is back. Certificate requests that come before that
stay Pending with `IssuerNotReady`, they are not failed.
Downside is that unreachable CA no longer shows up as non-Ready Package.
Only signal left is ClusterIssuer's own Ready condition and Certificates
at `Ready=False`, and there is no alert on ClusterIssuer in monitoring
packages yet.
On a cluster where the release is already stuck, the running upgrade has
to time out first (10m by default), then the retry uses the new spec.
letsencrypt-stage is still rendered on every cluster. Making it optional
needs a migration, because the issuers carry
`platform.cozystack.io/no-delete`, so it is not part of this PR.
Checked on a 3-node dev cluster running v1.7.0. I made the staging ACME
host unreachable from the cert-manager controller, so letsencrypt-stage
went to Ready=False with ErrRegisterACMEAccount, and forced an upgrade
of cert-manager-issuers. Without the expression the release hung in the
upgrade action and 23 releases went to DependencyNotReady within 15
seconds (67 of 124 at the peak). I then added the expression to the
PackageSource by hand, since I did not install a build of this branch.
The stuck upgrade ran until its timeout, the retry came right after it
and the release was Ready within 2 seconds, a second forced upgrade took
8 seconds, and all 124 releases converged with letsencrypt-stage still
False. After I made the host reachable again the issuer registered by
itself in about 30 seconds.
### Screenshots
### Downstream repositories
- [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:
- [ ] [cozystack/community](https://github.com/cozystack/community) -
follow-up:
### Release note
```release-note
fix(platform): the cert-manager-issuers release no longer waits for ClusterIssuers to become Ready, so an unreachable ACME endpoint (staging included) does not hold other platform packages in DependencyNotReady.
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **Bug Fixes**
* Updated cert-manager issuer release checks to use the ClusterIssuer’s
current status and polling. Releases are no longer held up by ACME
readiness, which can remain unavailable even when issuance may recover
without intervention. This also helps prevent dependent packages from
being delayed while waiting for ACME services to become reachable.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Backported-from:
|
||
|
|
23464e5b00 |
fix(kubernetes-nodes): surge one worker at a time during a pool rollout
A worker pool rolled out with maxSurge set to its maxReplicas, so CAPI
could create up to maxReplicas replacement VMs before draining any old
one. A pool running 8 workers under a ceiling of 10 could reach 18 VMs
at the peak of an instance type, image or version change.
Those extra VMs run in the tenant's namespace. Today the namespace
ResourceQuota counts them, so a tenant near its quota sees replacement
launchers refused and the rollout stall. Under quotas as reservation
limits, where a pool reserves maxReplicas workers and the namespace
quota goes away, the surge is capacity the platform lends for the
length of a rollout: rollouts are mostly platform-driven, and counting
them against the tenant would block a platform upgrade for any tenant
whose pool sits at its ceiling. That loan has to be bounded, and with
a surge tied to maxReplicas it was as large as the pool itself.
The surge is now one Machine whatever the pool's size. It stays out of
the values: tenants write them, and would then size the platform's
margin. maxUnavailable is unchanged, so a node is still only drained
once its replacement is up; a large pool now rolls one worker at a
time.
Tested with helm unittest on kubernetes-nodes, with the golden renders
updated for the new surge.
Refs: cozystack/community#48
Assisted-by: LLM
Signed-off-by: Mattia Eleuteri <mattia@hidora.io>
(cherry picked from commit
|
||
|
|
92d78d24de |
fix(platform): do not gate cert-manager-issuers on ClusterIssuer readiness
A ClusterIssuer turns Ready only after cert-manager has registered an
ACME account with the CA. Under the kstatus wait helm-controller applies
by default, an unreachable Let's Encrypt endpoint, staging included,
keeps the cert-manager-issuers upgrade in progress until it times out.
Every package that dependsOn cozystack.cert-manager then waits behind
that release, so one unreachable CA leaves the platform half rolled out
while the issuers that are in use keep issuing.
Report the issuers as current through healthCheckExprs. The release
completes once the manifests are applied, and the issuers recover on
their own when the CA is reachable again.
Assisted-by: LLM
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
(cherry picked from commit
|
||
|
|
e4b2e99378 |
fix(postgres): move tenant PostgreSQL to patched standard-trixie images (#5405)
## What this PR does
Moves the tenant `postgres` application to PostgreSQL minors that fix
CVE-2026-116331, and makes the upgrade repair the indexes that the move
can break.
### Why the images change
CVE-2026-116331 is a type confusion in the min/max aggregate
optimisation: a role that can create objects runs code as the operating
system user of the server. Tenants hold such roles, so this application
is the exposed one. The fixed minors are 18.7, 17.12, 16.16, 15.20 and
14.25.
The default flavor pins bare image tags (`postgresql:17.7`). A bare tag
is the `system` variant on Debian bullseye, and upstream stopped
building it: the fixed minors are published for bookworm and trixie
only. This PR takes `standard-trixie`: the standard variant, because
backups go through the barman-cloud plugin and need none of the barman
binaries the `system` variant adds, and trixie, because the postgis
flavor is on it already, so both image families share one Debian
release. `hack/update-versions.sh` selects bare tags, so it would have
settled on 17.11 and 18.6, which are still affected.
This PR:
- pins `<minor>-standard-trixie` for the default flavor and bumps every
major to its fixed minor;
- bumps the postgis flavor to the same minors (it was already on
`standard-trixie`), which moves PostGIS from 3.6.1 to 3.7.0;
- teaches `hack/update-versions.sh` to pick minors from
`standard-trixie` tags.
PostgreSQL 13 has no fixed release. It keeps the minor 13.22 and stays
exposed to the CVE, and it moves to the trixie variant with every other
major, so it takes the base image change and the index rebuild without
getting the fix. 14.25 is the last release of the 14 line.
### Why the upgrade needs a repair step
For a running default-flavor cluster the image moves from bullseye to
trixie, so glibc goes from 2.31 to 2.41 and ICU's collator version from
153.14 to 153.128 under an existing data directory. An index ordered by
a collation of either library is then ordered by rules the server no
longer applies. PostgreSQL only logs a warning.
Reproduced on a live cluster with 60 000 rows of mixed Unicode text:
| Index collation | After the image change |
|---|---|
| `C` (what the chart creates by default) | intact |
| libc `en_US.utf8` | intact on this data, version mismatch warning |
| ICU `en-x-icu` | `amcheck`: item order invariant violated; 2 604 rows
not found through the index |
A database the chart created with its defaults uses `C` and is not
affected. A tenant who declared `COLLATE` on a column, used an ICU
collation, or created a database with a locale is.
### What the init Job does now
The post-install/post-upgrade Job gets one more pass. It runs after the
passes that manage roles and databases, so a rebuild that fails or runs
out of time costs none of them. In every connectable database it:
1. finds the indexes that depend on a collation whose recorded library
version differs from the one the server reports. PostgreSQL records a
collation for an index only where it orders a key, so the collations of
the columns an index reads in its expressions and its predicate count as
well;
2. rebuilds them with `REINDEX INDEX CONCURRENTLY` (plain `REINDEX` for
an exclusion constraint's index, which cannot be rebuilt concurrently,
so its table is neither read nor written meanwhile);
3. refreshes the recorded versions with `ALTER COLLATION ... REFRESH
VERSION` and `ALTER DATABASE ... REFRESH COLLATION VERSION`, once every
rebuild in that database succeeded.
**Timing.** Helm runs the hook as soon as the `Cluster` is patched,
while CloudNativePG is still rolling the instances, so the primary can
answer from the old image for minutes. The Job runs the new image, so it
waits until the server reports the same PostgreSQL version and Debian
release as its own `psql`. The rebuild counter of the package is left
out, because a tag is rebuilt in place and the Job can pull a newer
rebuild than the instances run. It waits only when an index depends on a
versioned collation; a cluster with nothing to rebuild is not delayed.
**Retries.** `REINDEX CONCURRENTLY` gives an index a new OID, so the
highest OID seen when a repair begins separates the indexes still to
rebuild from the ones already done. That mark is kept as a setting of
the database (`cozystack.collation_repair`) with a fingerprint of the
stale collations and the list of indexes rebuilt in place, and removed
when the repair is complete. A retry therefore continues instead of
starting over.
**Failures.** A rebuild that fails does not stop the others. The pass
reports the failures and exits non-zero at the end. A failed or
interrupted `REINDEX CONCURRENTLY` leaves an invalid `_ccnew` index on
the table; two of those mean two runs failed there, and the pass then
leaves that table's stale indexes to an operator instead of scanning the
table again on every retry. A rebuild that succeeds drops the leftovers;
dropping them by hand lets the next run try again. An in-place rebuild
leaves no such trace, so the setting records each attempt with the
index's storage file: a changed file means the index was rebuilt, by a
run or by hand, and two attempts on the same file leave it to an
operator. A rebuild that waits for a lock behind an open transaction
gives up when the Job runs out of time, and an in-place rebuild is cut
off at the same point, so no backend is left waiting or holding the
table after the Job is gone. A concurrent rebuild that is already
running is not cut short.
**Privileges.** The Job connects as the superuser, so every session of
the pass sets `search_path` to `pg_catalog, pg_temp`. A function or
operator that a tenant defined in `public` cannot be picked in place of
a built-in.
**Before PostgreSQL 15** the server records no version for a database's
default collation. The version recorded for the libc collation of the
same locale stands in for it; the two are matched as glibc matches them,
so `en_US.UTF-8` finds `en_US.utf8`. A locale with no such collation
cannot be checked, and a run that saw the image change says so in a
warning that names the database.
**Range partition keys.** Rebuilding an index does not move a row to the
partition the new ordering assigns it. A collation that such a key
depends on keeps its recorded version, so PostgreSQL keeps logging the
mismatch, and the Job prints a warning that names the table on every
run. Its indexes are still rebuilt, once.
The pass is driven by the version mismatch, not by this particular image
change, so it also applies to later glibc or ICU bumps.
### Verified
`helm unittest` passes for the chart (236 tests). The e2e suite gains a
step that creates a collation with a stale version, upgrades the release
and checks that the index was rebuilt and the version refreshed.
On a live cluster, applications were installed from the v1.7.0 chart and
upgraded with this change applied on top of v1.7.0. Each had a client
holding a connection, which is what makes the primary restart take
minutes.
| Case | Outcome |
|---|---|
| v17, two instances, default `C` collation only | Job finished in 15 s
without waiting; data identical; `amcheck` clean |
| v17, two instances, ICU, libc, expression, unique, exclusion and
partition indexes | Job waited about 3.5 min for the primary, rebuilt
seven indexes; `amcheck` clean; every row found through the ICU index
again (run with the first revision of the pass) |
| v17, two instances, backups to the system bucket | a backup taken
before and one taken after the upgrade both succeed; WAL archiving
continues with no failed segment, so the barman-cloud plugin covers the
binaries the `standard` variant lacks |
| v18, an application that had been running for months (18.1 to 18.7) |
row counts identical; `amcheck` clean |
| v14 (14.20 to 14.25) and v13 (13.22, base image only) with the same
index set | Job waited, rebuilt six indexes; `amcheck` clean |
The pass itself was also run against a live server for the cases an
upgrade does not produce on demand:
- a second run does nothing;
- a failed rebuild leaves the other indexes rebuilt, and a later run
rebuilds only the failed one;
- after two failed runs the index is left alone until it is rebuilt by
hand, and the pass then completes;
- an exclusion constraint's index is rebuilt in place once, not again by
a retry; when a writer blocks it twice it is left alone, and after a
manual `REINDEX INDEX` the pass completes;
- a collation under a range partition key stays stale and its indexes
are not rebuilt twice;
- a rebuild blocked by an open transaction fails on its lock wait and
leaves no waiting backend; it succeeds once the transaction ends;
- a tenant function named like a built-in is not called by the pass,
while a session with the default `search_path` does call it;
- on PostgreSQL 14 an index on the database default collation is
rebuilt, also when the locale is spelled `en_US.UTF-8`, and a database
with a locale that has no stand-in gets the warning only in a run that
saw the image change;
- an index whose expression or partial-index predicate reads a column of
a stale collation is rebuilt, although PostgreSQL records no collation
for it.
### Known limits
- **A window of wrong results.** Between the primary restart and the end
of the rebuild, queries through an affected index can miss rows and a
unique index can accept a duplicate. The index cannot be built ahead of
time, because it has to be built by the new library. A duplicate that
slipped in makes that index's rebuild fail until the duplicate is
removed.
- **The hook budget.** The wait ends 120 seconds before the Job's
deadline. A roll that takes longer fails the Job, and the next run finds
the server ready. One index must be rebuilt within one run of the Job. A
very large index on a non-`C` collation does not fit that: after two
attempts the pass stops trying and asks for a manual `REINDEX`, and the
release stays failed until then.
- **Range partition keys** are reported, not repaired.
- **Other dependents** of a collation, such as `CHECK` constraints and
materialized views, are not examined.
- **PostgreSQL 13 and 14, default collation.** A database whose locale
has no libc collation in the catalog has no stand-in. Its
default-collation indexes are not rebuilt; the Job warns about it and
names `REINDEX DATABASE` as the remedy.
- **Collations inside expressions.** An index is found through the
collations that order its keys and through the columns its expressions
and predicate read. A collation that an expression applies to a column
of another collation, with `COLLATE` inside the expression, leaves no
trace in the catalog and is missed.
- **The wait is not in the e2e suite.** The e2e step does not swap the
image, so it runs the rebuild but not the wait for the roll. That part
is covered by the live runs above.
- **PostGIS 3.6.1 to 3.7.0** on the postgis flavor is not exercised
here.
- **Upstream `REINDEX` advice for these minors** is not automated. The
17.12 [release
notes](https://www.postgresql.org/docs/17/release-17-12.html) ask for a
`REINDEX` of btree indexes on unconstrained `bpchar` columns and of
`gist_trgm_ops` indexes, among others.
The flavor guard is unchanged in behaviour; its comment and messages no
longer claim that the two image families always differ in Debian
release.
### Screenshots
N/A — no UI changes.
### Downstream repositories
Walked the trigger map against the diff: two version maps, the image
template, the init script, a comment in `db.yaml`, the version update
script and one unit test of `packages/apps/postgres`, plus one e2e
suite. The `version` enum, `values.yaml`, `values.schema.json`, the
README, the `ApplicationDefinition` and the release prefix are
untouched.
- [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:
- [ ] [cozystack/community](https://github.com/cozystack/community) -
follow-up:
### Release note
```release-note
fix(postgres): tenant PostgreSQL moves to the minors that fix CVE-2026-116331 (18.7, 17.12, 16.16, 15.20, 14.25) on the standard-trixie image variant. Upgrading rolls every Postgres instance.
- PostgreSQL 13 has no fixed release: it keeps 13.22 and stays exposed to CVE-2026-116331, and it still takes the image move and the index rebuild described below. 14.25 is the last release of the 14 line. Plan a move to a newer major for clusters on 13 and 14.
- For the default flavor the image moves from Debian bullseye to trixie, which changes glibc and ICU. The upgrade rebuilds the indexes that depend on a non-C collation. Until that rebuild finishes such an index can return incomplete results and a unique one can accept duplicates, so plan a maintenance window if you use ICU or locale-specific collations. Databases created with the chart defaults use the C collation and are not affected.
- An exclusion constraint's index is rebuilt in place, and its table is neither read nor written meanwhile.
- When a rebuild cannot finish inside the upgrade Job, the release stays failed and the Job is retried. After two failed attempts the Job stops rebuilding that index, names it in its log and keeps failing until an operator steps in. Expect this for a large index on a non-C collation: rebuild it by hand with `REINDEX INDEX CONCURRENTLY`, drop the invalid `_ccnew` indexes the failed attempts left on its table, and the next run completes. A unique index fails the same way while it holds duplicates, which have to be removed first.
- Tables range-partitioned on a text key with a non-C collation need a manual check, after which the collation version is refreshed by hand.
- On the postgis flavor PostGIS moves from 3.6.1 to 3.7.0, and the upgrade does not update the extension in existing databases: once the new image has rolled out to the primary, run `ALTER EXTENSION postgis UPDATE` in each database that uses it.
```
Backported-from:
|
||
|
|
f0820507aa |
fix(postgres): move the default flavor to patched standard-trixie images
The default flavor pinned bare image tags, which are the system variant
on Debian bullseye. Upstream stopped building that variant, so the minors
that fix CVE-2026-116331 (18.7, 17.12, 16.16, 15.20, 14.25) are published
for bookworm and trixie only. The CVE is a type confusion in the min/max
aggregate optimisation that lets a role able to create objects run code
as the operating system user of the server, and tenants hold such roles.
Pin the patched minors on standard-trixie, and move the postgis flavor to
the same minors. The standard variant, because backups go through the
barman-cloud plugin and need none of the barman binaries the system
variant adds. trixie, because the postgis flavor is on it already, so
both image families share one Debian release. PostgreSQL 13 has no
patched release: it keeps 13.22 and moves to trixie with the rest.
For a running default-flavor cluster this changes the Debian release under
the data directory. The init Job rebuilds the indexes that depend on a
collation whose library version changed.
Assisted-by: LLM
Signed-off-by: Andrey Kolkov <androndo@gmail.com>
(cherry picked from commit
|
||
|
|
98866c9b49 |
fix(postgres): rebuild indexes whose collation changed version
An operand image built on another Debian release ships another glibc and
ICU. An index ordered by a collation of either library is then ordered by
rules the server no longer applies: lookups through it miss rows, and a
unique index stops seeing duplicates. PostgreSQL only logs a warning.
The init Job compares the library version each collation was created with
against the one the server reports, rebuilds the indexes that depend on a
collation whose version changed, and refreshes the recorded versions once
every rebuild in the database succeeded. A database on the C or POSIX
collation with no explicitly collated index, which is what the chart
creates by default, has nothing to rebuild and is not delayed.
The pass has to hold on a hook that starts while the instances are still
rolling, runs as the superuser in databases tenants own, and is retried
after a failure:
- It runs after the passes that manage roles and databases, so that a
rebuild that fails costs none of them, and it waits for the server to
report the PostgreSQL version and Debian release of its own image when
an index depends on a versioned collation. The rebuild counter of the
package is left out of that comparison, because a tag is rebuilt in
place.
- Every session pins search_path to pg_catalog, so that a function or an
operator a tenant defined in public cannot stand in for a built-in.
- A retry continues where the last run stopped. REINDEX CONCURRENTLY gives
an index a new OID, so the highest OID seen when a repair begins marks
what is left; an index rebuilt in place keeps its OID and is told apart
by its storage file. Both live in a setting of the database.
- A rebuild that cannot finish is not started for ever: after two
attempts the index is left to an operator, the pass says how to clear
it, and the release stays failed until then. Lock waits and in-place
rebuilds are bounded by what is left of the Job.
- A collation that a range partition key depends on keeps its recorded
version, because rebuilding an index moves no row between partitions.
PostgreSQL records a collation for an index only where it orders a key,
so the collations of the columns an index reads in its expressions and
predicate count as well. Before PostgreSQL 15 the server records no
version for a database's default collation, and the libc collation of the
same locale stands in for it.
The e2e suite creates a collation with a stale version and checks that an
upgrade rebuilds a unique index and an exclusion constraint's index on it,
refreshes the version and removes the repair setting.
Assisted-by: LLM
Signed-off-by: Andrey Kolkov <androndo@gmail.com>
(cherry picked from commit
|
||
|
|
e78496f91f |
fix(ingress-nginx): turn off TLS session tickets for CVE-2026-97629 (#5407)
## What this PR does
Turns off TLS session tickets in the ingress-nginx controller
(`ssl-session-tickets: "false"`).
[CVE-2026-97629](https://nginx.org/en/security_advisories.html): with
session tickets on and no fixed ticket key, nginx rotates its ticket
keys and, before 1.30.6 and 1.31.7, leaves one of them uninitialized in
the worker processes, which may allow a session to be forged. The
platform sets tickets on and no `ssl-session-ticket-key`, so it runs
exactly that path, and the controller nginx 1.25.5 does not carry the
fix ([`fdedba03`](https://github.com/nginx/nginx/commit/fdedba031b))
yet. It will come with the next rebuild of the controller image; this
change closes the hole without waiting for it.
What it costs is small. TLS session resumption keeps working through
`ssl_session_cache`, which the controller has on. And with no fixed
ticket key every pod had its own keys, so a ticket never resumed a
session on another replica anyway.
`make test` in the chart passes.
### Screenshots
N/A, no UI changes.
### Downstream repositories
Walked the trigger map against the diff: one controller ConfigMap value
in `packages/system/ingress-nginx/values.yaml`. No package, platform
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:
- [ ] [cozystack/community](https://github.com/cozystack/community) -
follow-up:
### Release note
```release-note
fix(ingress-nginx): TLS session tickets are turned off in the ingress-nginx controller (CVE-2026-97629). TLS session resumption keeps working through the shared session cache.
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **Security**
* SSL session tickets are now disabled for ingress connections. TLS
session resumption remains available through the shared session cache,
so existing session reuse behavior continues without session tickets.
This changes how session resumption is handled while preserving the
cache-based option.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Backported-from:
|