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

Crd generation #310

Merged
merged 2 commits into from
Jul 5, 2023
Merged

Crd generation #310

merged 2 commits into from
Jul 5, 2023

Conversation

KevinJoiner
Copy link
Contributor

Issue rancher/rancher#39335
These updates are to support the creation of CRDs from API structs instead of our custom CRD defs which we will no longer need to maintain.

Commit 1
The first commit adds the ability to decode a YAML document into an object with JSON decoding. This is needed so we do not have to work with unstructered.Unstuctered Objects and map decoding.

Commit 2
Adds a new BatchCreate that creates CRDs from the apis structs. This is needed to support the new CRD generation in Rancher, which no longer use wrangler crd.CRD

@KevinJoiner KevinJoiner force-pushed the crd-generation branch 3 times, most recently from 3c023ff to 4e2beab Compare June 30, 2023 12:40
@KevinJoiner KevinJoiner force-pushed the crd-generation branch 2 times, most recently from 8a28b4d to 85f6386 Compare June 30, 2023 17:56
@cbron cbron merged commit 201b4da into rancher:master Jul 5, 2023
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

Successfully merging this pull request may close these issues.

4 participants