fix: force replace G14 template jobs
This commit is contained in:
@@ -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") {
|
||||||
|
|||||||
Reference in New Issue
Block a user