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

feat: update to v2 version of Fabric8's CRD generator #927

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Conversation

metacosm
Copy link
Member

Signed-off-by: Chris Laprun claprun@redhat.com

Signed-off-by: Chris Laprun <claprun@redhat.com>
@metacosm metacosm self-assigned this Aug 20, 2024
@metacosm metacosm requested a review from xstefank August 20, 2024 10:24
@metacosm
Copy link
Member Author

Replaces #876

@metacosm metacosm mentioned this pull request Aug 20, 2024
@jcechace
Copy link
Contributor

@metacosm @xstefank unfortunately in case default value is specified for a property v2 currently may render invalid CRD as the value for "default" field in the schema is always going to be String regardless of the type value.

@metacosm
Copy link
Member Author

I will see if we can configure which version of the CRD generator to use. Can you use the 6.9.0 version that just got released, targeting Quarkus 3.17 or would this need to be backported to 6.8?

@jcechace
Copy link
Contributor

@metacosm I can use 3.9. The problem is that without the backport 3.8 will generate invalid CRDs when default value is set for a anything but string field. So I guess the question is whether you want to also fix the 3.8.x line

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.

3 participants