Open radu-matei opened 4 years ago
I believe that manually creating CRDs is totally fine. Controller-based software like the latest cert-manager and Prometheus Operator do that too. Creating CDR YAML files from C# types would be nice, but it's also quite easy to do using the YAML serialiser.
Right now you have to declare your CRD in a YAML file to use it with the Kubernetes API, as well as manually create an instance of
CustomResourceDefinition
when creating the controller.It would be very helpful to parse the YAML / JSON file that declares the custom resource and use that directly with the controller.