k3s/pkg/apis/k3s.cattle.io/v1
Brad Davidson ad41fb8c96 Create CRDs with schema
Fixes an issue where CRDs were being created without schema, allowing
resources with invalid content to be created, later stalling the
controller ListWatch event channel when the invalid resources could not
be deserialized.

This also requires moving Addon GVK tracking from a status field to
an annotation, as the GroupVersionKind type has special handling
internal to Kubernetes that prevents it from being serialized to the CRD
when schema validation is enabled.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2023-04-27 20:42:46 -07:00
..
doc.go
types.go Create CRDs with schema 2023-04-27 20:42:46 -07:00
zz_generated_deepcopy.go Create CRDs with schema 2023-04-27 20:42:46 -07:00
zz_generated_list_types.go Update generated code 2019-10-30 19:08:26 -07:00
zz_generated_register.go [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00