tower 0.61.19 / tower-ui 0.61.19 — tenant-scoped S3 in export+import Jobs

The export Job was using a stale platform Secret (s3-backup-creds)
and hardcoded bucket/endpoint, so bundles landed in odoosky-v3-backups
while Tower's verify (tenant-scoped after Phase F) read from the
tenant's bucket. Result: 'bundle missing from S3 after job
succeeded' even though the upload itself worked.

Same bug existed in import. Both fixed: keys+region+endpoint+bucket
now come from Tower's resolver view of the tenant, passed directly
into the Job env.

Plus: BackupsView crashed on r.backups.runs.length when runs is
null. Added the missing null guard.
This commit is contained in:
Claude
2026-04-30 16:42:33 +03:00
parent 66b9c60c68
commit 52f7030c8f

View File

@@ -9,7 +9,7 @@ backend:
# so every cluster that runs Tower needs the same imagePullSecret
# provisioned out-of-band (until cluster-platform-v3 owns it).
repository: registry.odoosky.cloud/odoosky/docker-mirror/tower
tag: "0.61.17"
tag: "0.61.19"
pullPolicy: IfNotPresent
imagePullSecrets:
- name: docker-mirror-pull
@@ -29,7 +29,7 @@ frontend:
enabled: true
image:
repository: registry.odoosky.cloud/odoosky/docker-mirror/tower-ui
tag: "0.61.18"
tag: "0.61.19"
pullPolicy: IfNotPresent
imagePullSecrets:
- name: docker-mirror-pull