-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
/pkgs/generators/k8s/k8s.nix barely supports the JsonSchema validation (only required field is parsed). While the k8s native schema doesn't add that much of validation in their schema (as of v1.34.0), some CRDs define these validation values. It is nice nixidy support these and integrated into the module.
NOTE
I wonder if /pkgs/generators/k8s/k8s.nix and /pkgs/generators/crd/jsonschema.nix can be merged into a single generator. Major of their logic is shared. And at this point, I think it is easier to manage the generator code in another language like python.
Metadata
Metadata
Assignees
Labels
No labels