k3s/pkg/deploy
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
..
controller.go Create CRDs with schema 2023-04-27 20:42:46 -07:00
nostage.go Bump golang to 1.18.1 2022-05-11 14:39:07 -07:00
stage.go Replace deprecated ioutil package (#6230) 2022-10-07 17:36:57 -07:00
zz_generated_bindata.go go generate 2023-04-03 19:47:06 -07:00