fix: force replace G14 template jobs

This commit is contained in:
Codex
2026-05-25 03:50:27 +08:00
parent 7003095f7c
commit bec4109af1
+1 -1
View File
@@ -196,7 +196,7 @@ function transformWorkloads({ workloads, deploy, source, registryPrefix, runtime
}); });
if (item.kind === "Job") { if (item.kind === "Job") {
annotate(item.metadata, { annotate(item.metadata, {
"argocd.argoproj.io/sync-options": "Replace=true" "argocd.argoproj.io/sync-options": "Force=true,Replace=true"
}); });
} }
if (serviceIdForWorkload(item, null) === "hwlab-tunnel-client" && typeof item.spec?.replicas === "number") { if (serviceIdForWorkload(item, null) === "hwlab-tunnel-client" && typeof item.spec?.replicas === "number") {