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(crd): Generate CRDs from APIs #1582

Merged
merged 24 commits into from Jul 1, 2020
Merged

feat(crd): Generate CRDs from APIs #1582

merged 24 commits into from Jul 1, 2020

Conversation

astefanutti
Copy link
Member

@astefanutti astefanutti commented Jun 29, 2020

This PR enables the generation of the CRDs from the APIs, using the controller-gen CLI, which is part of the KubeBuilder project.

The Operator SDK wraps it to provide a CLI to generate CRDs. However, it does not work for Camel K APIs, as these are packaged in their own module, which is not the project root module.

This PR supersedes #1514: it prepares the upgrade to apiextensions.k8s.io/v1 (#1487), as it introduces structural schema for CRDs, which is mandatory for v1, yet it does not bring the upgrade as #1550 blocks it.

Mind this PR also drops serving camel.apache.org/v1alpha1.

Release Note

feat(crd): Generate CRDs from APIs

Interface members are not supported by controller-tools that's used
for generating CRDs.
See kubernetes-sigs/controller-tools#126
@astefanutti astefanutti added the area/core Core features of the integration platform label Jun 29, 2020
@astefanutti astefanutti merged commit 9973bc7 into apache:master Jul 1, 2020
@astefanutti astefanutti deleted the pr-119 branch July 1, 2020 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Core features of the integration platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants