cozystack/pkg
Aleksei Sviridkin 75e25fa977
fix(codegen): add gen_client to update-codegen.sh and regenerate applyconfiguration
The applyconfiguration code referenced testing.TypeConverter from
k8s.io/client-go/testing, which was removed in client-go v0.34.1.

Root cause: hack/update-codegen.sh called gen_helpers and gen_openapi
but not gen_client, so applyconfiguration was never regenerated after
the client-go upgrade.

Changes:
- Fix THIS_PKG from sample-apiserver template leftover to correct
  module path
- Add kube::codegen::gen_client call with --with-applyconfig flag
- Regenerate applyconfiguration (now uses managedfields.TypeConverter)
- Add tests for ForKind and NewTypeConverter functions

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-02-16 23:01:38 +03:00
..
apis [dashboard] Add external ips count to Tenant details page 2026-01-30 14:26:30 +05:00
apiserver [cozystack-api] Add field index for Service spec.type and filter by LoadBalancer type 2026-01-30 15:13:24 +05:00
cmd/server refactor(api): rename CozystackResourceDefinition to ApplicationDefinition 2026-01-15 22:35:56 +01:00
config feat(api): add chartRef to CozystackResourceDefinition 2026-01-14 16:09:43 +01: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 [cozystack-api] Add field index for Service spec.type and filter by LoadBalancer type 2026-01-30 15:13:24 +05:00
version refactor(telemetry): split telemetry between operator and controller 2026-01-19 13:52:15 +01:00