cozystack/pkg
Andrei Kvapil c10fdc36b8 fix(api): skip OpenAPI post-processor for non-apps group versions
The OpenAPI PostProcessSpec callback is invoked for every group-version
(apps, core, version, etc.), but the Application schema cloning logic
only applies to apps.cozystack.io. When called for other GVs the base
Application schemas are absent, causing a spurious error log on every
API server start.

Return early instead of erroring when the base schemas are not found.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit ee83aaa82e)
2026-03-13 15:23:34 +00:00
..
apis refactor(api): remove rootHost-based name length validation 2026-02-12 13:52:37 +03:00
apiserver refactor(api): remove rootHost-based name length validation 2026-02-12 13:52:37 +03:00
cmd/server fix(api): skip OpenAPI post-processor for non-apps group versions 2026-03-13 15:23:34 +00:00
config refactor(api): remove rootHost-based name length validation 2026-02-12 13:52:37 +03:00
generated fix(codegen): add gen_client to update-codegen.sh and regenerate applyconfiguration 2026-02-16 23:01:38 +03:00
lineage feat(api): add chartRef to CozystackResourceDefinition 2026-01-14 16:09:43 +01:00
ovnstatus [kubeovn] Implement the KubeOVN plunger 2025-09-11 02:11:58 +03:00
registry refactor(api): remove rootHost-based name length validation 2026-02-12 13:52:37 +03:00
version refactor(telemetry): split telemetry between operator and controller 2026-01-19 13:52:15 +01:00