准备 Gitea 1.26.4 suspended 升级 #24

Merged
panxiao81 merged 2 commits from docs/gitea-upgrade-plan into main 2026-09-10 06:01:31 +00:00
Owner

本 PR 的作用

这不是单独的计划 PR:计划文档与第一跳准备状态一起提交。

  • Helm chart:12.5.3 → 12.6.0
  • Gitea rootless image:显式固定 1.26.4
  • HelmRelease:重新设置 suspend: true
  • chart、image override 与 suspend 位于同一个 HelmRelease 对象中,原子应用
  • 不修改 watch-enabled values ConfigMap,避免先触发 reconcile 的竞态

合并效果

只更新 Git desired state 并暂停 Helm controller,不运行 Helm upgrade、不替换 Pod、不执行数据库 migration。合并验收后才进入停机一致备份;备份完成并恢复旧服务后,再通过只删除 suspend 的独立 PR 激活。

已验证

  • 官方 1.26.4-rootless image manifest 存在
  • chart 12.6.0 渲染使用目标镜像
  • Kustomize build、yamllint、server-side dry-run 与 git diff --check 通过
  • live HelmRelease 当前仍为 chart 12.5.3 且 Ready

计划摘要

完整计划涵盖 1.25.5 → 1.26.4 → 1.27.3、CNPG/PVC 配套备份、Git source 自举边界、逐阶段验收和数据库回滚。当前 CNPG 没有连续备份,PVC 没有 snapshot class,所以激活前的一致备份是硬门槛。

## 本 PR 的作用 这不是单独的计划 PR:计划文档与第一跳准备状态一起提交。 - Helm chart:`12.5.3 → 12.6.0` - Gitea rootless image:显式固定 `1.26.4` - HelmRelease:重新设置 `suspend: true` - chart、image override 与 suspend 位于同一个 HelmRelease 对象中,原子应用 - 不修改 watch-enabled values ConfigMap,避免先触发 reconcile 的竞态 ## 合并效果 只更新 Git desired state 并暂停 Helm controller,不运行 Helm upgrade、不替换 Pod、不执行数据库 migration。合并验收后才进入停机一致备份;备份完成并恢复旧服务后,再通过只删除 suspend 的独立 PR 激活。 ## 已验证 - 官方 `1.26.4-rootless` image manifest 存在 - chart `12.6.0` 渲染使用目标镜像 - Kustomize build、yamllint、server-side dry-run 与 `git diff --check` 通过 - live HelmRelease 当前仍为 chart `12.5.3` 且 Ready ## 计划摘要 完整计划涵盖 `1.25.5 → 1.26.4 → 1.27.3`、CNPG/PVC 配套备份、Git source 自举边界、逐阶段验收和数据库回滚。当前 CNPG 没有连续备份,PVC 没有 snapshot class,所以激活前的一致备份是硬门槛。
panxiao81 added 1 commit 2026-09-10 05:50:41 +00:00
docs: 规划 Gitea 1.27 分阶段升级
lint / yaml (pull_request) Successful in 15s
lint / yaml (push) Successful in 15s
lint / terraform (pull_request) Successful in 32s
lint / terraform (push) Successful in 33s
lint / ansible (pull_request) Successful in 3m19s
lint / ansible (push) Successful in 3m5s
af23195b04
panxiao81 added 1 commit 2026-09-10 05:59:25 +00:00
feat(gitea): 准备 1.26.4 suspended 升级
lint / yaml (pull_request) Successful in 14s
lint / yaml (push) Successful in 15s
lint / terraform (push) Successful in 34s
lint / terraform (pull_request) Successful in 33s
lint / ansible (push) Successful in 4m21s
lint / ansible (pull_request) Successful in 5m1s
bac85b6335
panxiao81 changed title from 规划 Gitea 1.25.5 到 1.27.3 分阶段升级 to 准备 Gitea 1.26.4 suspended 升级 2026-09-10 05:59:49 +00:00
panxiao81 merged commit 6bddb744c9 into main 2026-09-10 06:01:31 +00:00
panxiao81 deleted branch docs/gitea-upgrade-plan 2026-09-10 06:01:31 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: panxiao81/homelab-infra#24