• Brad Davidson's avatar
    Create CRDs with schema · a4e6aa1f
    Brad Davidson authored
    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: 's avatarBrad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit ad41fb8c)
    a4e6aa1f
Name
Last commit
Last update
..
crds.go Loading commit data...