feat(gitea): 准备 1.27.3 suspended 升级
lint / yaml (pull_request) Successful in 18s
lint / yaml (push) Successful in 17s
lint / terraform (pull_request) Successful in 31s
lint / terraform (push) Successful in 32s
lint / ansible (pull_request) Successful in 3m51s
lint / ansible (push) Successful in 3m34s

This commit is contained in:
2026-09-10 06:56:57 +00:00
parent f9bcde53ab
commit 01cca07f48
4 changed files with 25 additions and 6 deletions
+5 -3
View File
@@ -24,6 +24,8 @@ Gitea 是 Flux GitRepository 的上游。升级或重启期间 Git source 暂时
跨 minor 的执行顺序、停机一致备份和失败恢复步骤见
[`../../docs/gitea-upgrade-plan.md`](../../docs/gitea-upgrade-plan.md)。
第一跳 chart `12.6.0` / Gitea `1.26.4` 的停机一致备份已经建立并校验;激活 PR
只移除 HelmRelease 的 `suspend`。本阶段按明确决定只保留节点本地备份,没有上传
OCI 或建立异机副本,因此其恢复冗余低于长期目标。
第一跳 chart `12.6.0` / Gitea `1.26.4` 已完成,migration、API、Git push 和 CI 均
通过。第二跳 desired state 已准备为 chart `12.7.0` / Gitea `1.27.3`,HelmRelease
保持 `suspend: true`;必须先建立新的 1.26.4 停机一致回滚点,再用独立 PR 激活。
第一阶段按明确决定只保留节点本地备份,没有上传 OCI 或建立异机副本,因此其恢复
冗余低于长期目标。
+4 -3
View File
@@ -11,7 +11,7 @@ spec:
sourceRef:
kind: HelmRepository
name: gitea-charts
version: 12.6.0
version: 12.7.0
driftDetection:
mode: enabled
install:
@@ -20,20 +20,21 @@ spec:
retryInterval: 5m
interval: 30m
releaseName: gitea
suspend: true
targetNamespace: gitea
timeout: 15m
upgrade:
strategy:
name: RetryOnFailure
retryInterval: 5m
# Keep the patch release explicit because chart 12.6.0 defaults to 1.26.1.
# Keep the patch release explicit because chart 12.7.0 defaults to 1.27.0.
# This override is in the suspended HelmRelease itself so chart, image and
# suspension are applied atomically; changing the watched values ConfigMap in
# the same revision could otherwise trigger reconciliation first.
values:
image:
rootless: true
tag: "1.26.4"
tag: "1.27.3"
valuesFrom:
- kind: ConfigMap
name: gitea-values