Define Custom Resource Definitions (CRDs) with kubernetes.customTypes
mainYou can register Custom Resource Definitions (CRDs) in Kubenix to enable type-safe definitions of custom resources using Nix options. To do this, add an entry to the kubernetes.customTypes list. Each entry must specify the group, version, kind, and a Nix module that defines the schema for that resource.
# Conceptual structure for kubernetes.customTypes
kubernetes.customTypes = [
{
group = "stable.example.com";
version = "v1";
kind = "CronTab";
module = ./path/to/your/schema.nix;
}
];