From 6c9173af77c3a036cc03b9a6d3188263d4431810 Mon Sep 17 00:00:00 2001 From: OdooSky v3 Date: Sun, 10 May 2026 09:17:24 +0200 Subject: [PATCH] =?UTF-8?q?fix(platform):=20per-CRD=20SSA=20annotation=20?= =?UTF-8?q?=E2=80=94=20ArgoCD=20App-level=20ServerSideApply=3Dtrue=20falls?= =?UTF-8?q?=20back=20to=20CSA=20on=20existing=20resources,=20exceeding=202?= =?UTF-8?q?62=20KiB=20annotation=20limit=20on=20KEDA=20scaledjobs/scaledob?= =?UTF-8?q?jects?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Chart.yaml | 4 ++-- values.yaml | 13 ++++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index 0604840..cc687fe 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -23,8 +23,8 @@ description: | Git). type: application -version: 0.7.5 -appVersion: "0.7.5" +version: 0.7.6 +appVersion: "0.7.6" # All 6 subcharts now resolve from registry.odoosky.cloud (mirrored # 2026-05-08, KEDA stack added 2026-05-09). Mirror-first discipline diff --git a/values.yaml b/values.yaml index f8629e0..a2f9b9e 100644 --- a/values.yaml +++ b/values.yaml @@ -341,11 +341,18 @@ keda: # newly-onboarded server gets CRDs on first sync. # KEDA puts CRDs in templates/crds/ (not chart/crds/), so they # need to flow through helm template — which they do once this is - # set. ArgoCD's App-level ServerSideApply=true sync option (set in - # backend/cmd/api/server_adapters.go:108) handles the 262 KiB - # annotation overflow these CRDs would otherwise hit. + # set. ArgoCD's App-level ServerSideApply=true sync option SHOULD + # cover the 262 KiB annotation overflow these CRDs would hit with + # client-side apply (scaledjobs + scaledobjects each blow the limit + # because their schemas are huge), but ArgoCD's App-level setting + # falls back to client-side for resources that already exist with + # a different field-manager. Belt-and-suspenders: also annotate + # each CRD per-resource so the SSA path is taken regardless of + # who owned the field-manager first. crds: install: true + additionalAnnotations: + argocd.argoproj.io/sync-options: ServerSideApply=true # operator + adapter + webhook — keep CPU/RAM modest. KEDA polls # event sources every pollingInterval (default 30s); on a cluster # with no ScaledObjects it does no work.