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

Renaming ReferencePolicy to ReferenceGrant #1179

Merged

Conversation

robscott
Copy link
Member

@robscott robscott commented Jun 1, 2022

What type of PR is this?
/kind api-change

What this PR does / why we need it:
Renames ReferencePolicy to ReferenceGrant. Renaming this resource was originally suggested in the community meeting on Jan 24, and then revisited in several additional meetings. I ran a poll in March at which point "ReferenceGrant" was the most popular name. I think this has largely been accepted as something that will happen, but no one has had the time to actually make the change. With v0.5.0 around the corner, it seems like we should try to fit this change in if possible.

Getting this change in would also help with a KEP that is relying on this resource and is concerned that a rename at a later point could result in confusion/instability.

Does this PR introduce a user-facing change?:

ReferencePolicy has been renamed to ReferenceGrant

@k8s-ci-robot k8s-ci-robot added kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 1, 2022
@k8s-ci-robot k8s-ci-robot requested review from hbagdi and youngnick June 1, 2022 20:44
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 1, 2022
@robscott
Copy link
Member Author

robscott commented Jun 1, 2022

Adding a temporary hold so everyone has a chance to add feedback, will remove this sometime tomorrow.

/cc @shaneutt @youngnick @howardjohn @mikemorris
/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 1, 2022
@k8s-ci-robot k8s-ci-robot requested a review from shaneutt June 1, 2022 20:49
@k8s-ci-robot
Copy link
Contributor

@robscott: GitHub didn't allow me to request PR reviews from the following users: mikemorris, howardjohn.

Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

Adding a temporary hold so everyone has a chance to add feedback, will remove this sometime tomorrow.

/cc @shaneutt @youngnick @howardjohn @mikemorris
/hold

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/test-infra repository.

@youngnick
Copy link
Contributor

Looks like this was a straightforward search-and-replace, I agree with the ReferenceGrant name, and this LGTM.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 2, 2022
Copy link
Member

@shaneutt shaneutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Contributor

@mikemorris mikemorris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

site-src/geps/gep-709.md Show resolved Hide resolved
site-src/v1alpha2/api-types/referencegrant.md Show resolved Hide resolved
@k8s-ci-robot
Copy link
Contributor

@mikemorris: changing LGTM is restricted to collaborators

In response to this:

/lgtm

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/test-infra repository.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mikemorris, robscott, shaneutt

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

@robscott robscott force-pushed the rename-reference-policy branch from de99000 to d1370a7 Compare June 6, 2022 20:58
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 6, 2022
@robscott
Copy link
Member Author

robscott commented Jun 6, 2022

Thanks for the reviews @mikemorris, @shaneutt, and @youngnick! Updated to address feedback, PTAL.

@robscott
Copy link
Member Author

robscott commented Jun 6, 2022

Think we've got enough consensus around this, will let next LGTM merge this in.

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 6, 2022
@youngnick
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 Jun 7, 2022
@k8s-ci-robot k8s-ci-robot merged commit f3bb40f into kubernetes-sigs:master Jun 7, 2022
nathancoleman added a commit to hashicorp/gateway-api that referenced this pull request Jun 7, 2022
mehabhalodiya added a commit to mehabhalodiya/gateway-api that referenced this pull request Jun 9, 2022
Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>

Rename files to reflect ReferencePolicy -> ReferenceGrant

These were missed in kubernetes-sigs#1179

feat: introduce v1beta1 types

Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>

recopy the v1beta1 types

Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>

change package

Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>
k8s-ci-robot pushed a commit that referenced this pull request Jun 9, 2022
* feat: introduce v1beta1 types

Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>

* feat: introduce v1beta1 types

Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>

* recopy the v1beta1 types

Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>

* change package

Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>

* recopy the v1beta1 types

Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>

Rename files to reflect ReferencePolicy -> ReferenceGrant

These were missed in #1179

feat: introduce v1beta1 types

Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>

recopy the v1beta1 types

Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>

change package

Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>
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. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants