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

Update to latest version of kube_codegen.sh #12528

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

klingerf
Copy link
Member

We use the kube_codegen.sh script from the kubernetes/code-generator repo to generate Go bindings for CRDs defined in this repo. The arguments and flags for that script changed in Kubernetes 1.30, which broke our usage of that script when this repo's Kubernetes dependencies were updated in #12463.

For the full set of changes, see: kubernetes/code-generator@599d00c...de98b55#diff-beaa4412ca0edb2451061daa9570ce25858ec41951938fc60f17e2370462ad8e

In this change, I'm updating bin/update-codegen.sh to work with the latest version of the kube_codegen.sh script.

To validate, check out this branch and run bin/update-codegen.sh. The script should exit cleanly, and there should be no changes to the previously-generated Go bindings.

We use the `kube_codegen.sh` script from the kubernetes/code-generator
repo to generate Go bindings for CRDs defined in this repo. The
arguments and flags for that script changed in Kubernetes 1.30, which
broke our usage of that script when this repo's Kubernetes dependencies
were updated in linkerd#12463.

In this change, I'm updating `bin/update-codegen.sh` to work with the
latest version of the `kube_codegen.sh` script.

To validate, check out this branch and run `bin/update-codegen.sh`. The
script should exit cleanly, and there should be no changes to the
previously-generated Go bindings.

Signed-off-by: Kevin Ingelman <[email protected]>
@klingerf klingerf requested a review from a team as a code owner April 30, 2024 17:13
@olix0r olix0r merged commit c2a69b6 into linkerd:main Apr 30, 2024
21 checks passed
@klingerf klingerf deleted the ki/update-update-codegen branch April 30, 2024 21:16
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.

None yet

3 participants