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

fix: re-add api-approved.kubernetes.io annotation #4488

Merged

Conversation

morremeyer
Copy link
Contributor

@morremeyer morremeyer commented May 20, 2024

Description

This re-adds the api-approved.kubernetes.io annotation that was removed with 4e6dd80.

Fixes #4487.
Fixes #4483.

I verified this locally by running

export GOBIN=/Users/morre/go/bin # on macOS
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0

since make controller-gen did not work on my system, likely because I didn't use it correctly.

And then

make crd

to generate the CRD

Checklist

  • Unit tests updated
  • End user documentation updated

@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 20, 2024
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 20, 2024
@k8s-ci-robot
Copy link
Contributor

Hi @morremeyer. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 20, 2024
@morremeyer morremeyer marked this pull request as ready for review May 20, 2024 16:30
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 20, 2024
@morremeyer
Copy link
Contributor Author

To whoever reviews this: Is make crd run by any CI or should I run it locally and commit the changes, too?

@mloiseleur
Copy link
Contributor

@morremeyer Yes, please commit it. Can you also fix controller-gen target in the Makefile ? See #4491 if needed.

@morremeyer
Copy link
Contributor Author

@mloiseleur Done, thank you. I'm not sure if GOBIN should be set by default, the go documentation does not look like it.

Running

export GOBIN=/Users/mmeyer/go/bin
make crd

works now.

@mloiseleur
Copy link
Contributor

/ok-to-test
/lgtm

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 21, 2024
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 21, 2024
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
@mloiseleur
Copy link
Contributor

/lgtm cancel
Yes, GOBIN can be empty. It will use ${GOPATH}/bin by default.
In fact, normally just go install xxx should do it, without all the stuff about creating directory, go mod init, ....
See my suggestion.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 21, 2024
Copy link

linux-foundation-easycla bot commented May 21, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: morremeyer / name: morre (c0a183b)

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 21, 2024
@morremeyer morremeyer force-pushed the fix/api-approved-annotation branch from 99b0c40 to b3dd3b1 Compare May 21, 2024 07:25
@k8s-ci-robot k8s-ci-robot removed the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label May 21, 2024
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 21, 2024
@morremeyer morremeyer force-pushed the fix/api-approved-annotation branch from b3dd3b1 to 41e4266 Compare May 21, 2024 07:26
@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. and removed cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 21, 2024
@morremeyer morremeyer force-pushed the fix/api-approved-annotation branch from 41e4266 to c0a183b Compare May 21, 2024 07:27
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels May 21, 2024
@morremeyer
Copy link
Contributor Author

@mloiseleur Got it, thanks. Indeed my GOPATH was not set correctly for whatever reason.

I took the liberty of fix-upping and force-pushing your suggestions to fix the CLA check.

@mloiseleur
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 21, 2024
@mloiseleur
Copy link
Contributor

cc @Raffo @szuecs for final review

@szuecs
Copy link
Contributor

szuecs commented May 21, 2024

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: szuecs

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 21, 2024
@k8s-ci-robot k8s-ci-robot merged commit f46676f into kubernetes-sigs:master May 21, 2024
14 checks passed
@morremeyer morremeyer deleted the fix/api-approved-annotation branch May 21, 2024 12:37
@jetersen
Copy link

jetersen commented Jun 4, 2024

Can we have a release of this?
Stuff is still broken 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
5 participants