Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create CustomResourceDefinition at runtime based on file definition #4

Open
radu-matei opened this issue Jan 6, 2020 · 1 comment

Comments

@radu-matei
Copy link
Member

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.

@alexeyzimarev
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants