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.
```
This commit is contained in:
myasnikovdaniil authored and GitHub committed 2026-11-26 20:51:04 +05:00
commit d096e10069
2 files changed
+74 -3

No files matched your search

@@ -51,10 +51,15 @@ subjects:
- kind: ServiceAccount
name: {{ .Release.Name }}-kcsi
---
# Cluster-scoped, so the name carries the namespace, as kccm's does. The
# release name alone repeats across tenants: two clusters named "test" in two
# tenants would share one ClusterRole and binding, and uninstalling either
# cluster deletes them from under the other, whose CSI driver can then no
# longer get its PersistentVolumes and volume expansion fails.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Release.Name }}-kcsi
name: {{ .Release.Namespace }}-{{ .Release.Name }}-kcsi
rules:
- apiGroups: [""]
resources: ["persistentvolumes"]
@@ -63,10 +68,10 @@ rules:
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ .Release.Name }}-kcsi-binding
name: {{ .Release.Namespace }}-{{ .Release.Name }}-kcsi-binding
roleRef:
kind: ClusterRole
name: {{ .Release.Name }}-kcsi
name: {{ .Release.Namespace }}-{{ .Release.Name }}-kcsi
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
@@ -22,3 +22,69 @@ tests:
apiGroups: ["subresources.kubevirt.io"]
resources: ["virtualmachines/addvolume", "virtualmachines/removevolume", "virtualmachineinstances/removevolume"]
verbs: ["update"]
- it: names the PersistentVolume ClusterRole after the namespace and the release
documentSelector:
path: kind
value: ClusterRole
asserts:
- equal:
path: metadata.name
value: tenant-test-kubernetes-test-kcsi
- equal:
path: rules
value:
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get"]
- it: binds that ClusterRole to the release's own ServiceAccount
documentSelector:
path: kind
value: ClusterRoleBinding
asserts:
- equal:
path: metadata.name
value: tenant-test-kubernetes-test-kcsi-binding
- equal:
path: roleRef.name
value: tenant-test-kubernetes-test-kcsi
- equal:
path: subjects
value:
- kind: ServiceAccount
name: kubernetes-test-kcsi
namespace: tenant-test
- it: gives a same-named cluster in another tenant its own ClusterRole and binding
release:
name: kubernetes-test
namespace: tenant-other
asserts:
- equal:
path: metadata.name
value: tenant-other-kubernetes-test-kcsi
documentSelector:
path: kind
value: ClusterRole
- equal:
path: metadata.name
value: tenant-other-kubernetes-test-kcsi-binding
documentSelector:
path: kind
value: ClusterRoleBinding
- equal:
path: roleRef.name
value: tenant-other-kubernetes-test-kcsi
documentSelector:
path: kind
value: ClusterRoleBinding
- equal:
path: subjects
value:
- kind: ServiceAccount
name: kubernetes-test-kcsi
namespace: tenant-other
documentSelector:
path: kind
value: ClusterRoleBinding