最终验证 Flux canary 自动 prune #18

Merged
panxiao81 merged 1 commits from test/flux-prune-canary-final-remove into main 2026-09-10 02:11:19 +00:00
Owner

最终阶段

  • 从 Git 删除已在 prune: true 下重新进入 inventory 的测试 ConfigMap
  • 不修改 http-echo 的 prune 设置
  • 不修改 root Kustomization 的 prune 设置
  • Deployment 和 Service 保持不变

删除前证据

  • live http-echo Kustomization:prune: true
  • inventory 包含 gitops-canary_flux-prune-canary__ConfigMap
  • live ConfigMap 仍存在

本地验证

  • Flux dry-run 只剩 Deployment 和 Service
  • 不包含测试 ConfigMap 或历史 HTTPRoute
  • canary/root prune 仍分别为 true/false
  • yamllint 与 git diff --check 通过

合并后不发送 reconcile annotation,等待 Flux 自行同步并确认只删除测试 ConfigMap。

## 最终阶段 - 从 Git 删除已在 `prune: true` 下重新进入 inventory 的测试 ConfigMap - 不修改 `http-echo` 的 prune 设置 - 不修改 root Kustomization 的 prune 设置 - Deployment 和 Service 保持不变 ## 删除前证据 - live `http-echo` Kustomization:`prune: true` - inventory 包含 `gitops-canary_flux-prune-canary__ConfigMap` - live ConfigMap 仍存在 ## 本地验证 - Flux dry-run 只剩 Deployment 和 Service - 不包含测试 ConfigMap 或历史 HTTPRoute - canary/root prune 仍分别为 true/false - yamllint 与 `git diff --check` 通过 合并后不发送 reconcile annotation,等待 Flux 自行同步并确认只删除测试 ConfigMap。
panxiao81 added 1 commit 2026-09-09 20:20:01 +00:00
test(gitops): 最终删除 prune canary
lint / yaml (push) Successful in 9s
lint / ansible (push) Successful in 3m4s
lint / terraform (push) Successful in 31s
lint / yaml (pull_request) Successful in 9s
lint / ansible (pull_request) Successful in 2m56s
lint / terraform (pull_request) Successful in 35s
b7775fce94
panxiao81 merged commit f257a2aa0a into main 2026-09-10 02:11:19 +00:00
panxiao81 deleted branch test/flux-prune-canary-final-remove 2026-09-10 02:11:20 +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#18