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

backports/v0.10/2131 #2142

Merged
merged 2 commits into from
Feb 23, 2024
Merged

backports/v0.10/2131 #2142

merged 2 commits into from
Feb 23, 2024

Conversation

willfindlay
Copy link
Contributor

Backport of #2131.

Containerize the CRD generation workflow to resolve a version consistency issue we encountered. Rename the generate and codegen targets to disambiguate them.

@willfindlay willfindlay added the release-note/misc This PR makes changes that have no direct user impact. label Feb 23, 2024
@willfindlay willfindlay requested review from mtardy and a team as code owners February 23, 2024 15:19
We encountered some version-specific differences related to golang tooling which impact
the resulting CRD generation from make generate. To solve this problem, let's containerize
the CRD generation workflow so that we can get consistent output through consistent
tooling. while we're at it, rename the generate target to crds to disambiguate it from
protobuf code generation. We keep the old generate target around as an alias for backward
compatibility.

Signed-off-by: William Findlay <[email protected]>
@willfindlay
Copy link
Contributor Author

Link checker failure is unrelated.

Now that we have renamed the generate target to crds, it makes sense to also rename to
codegen target to make it more clear that it specifically refers to protobuf codegen. Just
as with make generate, we keep the old codegen target around to use as an alias for
backward compatbility. We also remove the original protogen dockerfile as it is no longer
needed. Instead, we can simply use the base cilium-builder image.

Signed-off-by: William Findlay <[email protected]>
@willfindlay willfindlay merged commit 573f6b1 into v0.10 Feb 23, 2024
21 of 22 checks passed
@willfindlay willfindlay deleted the backports/v0.10/2131 branch February 23, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants