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
Finish clustername removal #109602
Finish clustername removal #109602
Conversation
Please note that we're already in Test Freeze for the |
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
/triage accepted |
0933918
to
35daf45
Compare
// +optional | ||
ZZZ_DeprecatedClusterName string `json:"clusterName,omitempty" protobuf:"bytes,15,opt,name=clusterName"` | ||
// Tombstone: ClusterName was a legacy field that was always cleared by | ||
// the system and never used. It consumed proto tag 15. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include the json field name as well. In other places, we actually kept the full field declaration, just commented out... dunno if we want to do that here.
// IPFamily is tombstoned to show why 15 is a reserved protobuf tag.
// IPFamily *IPFamily `json:"ipFamily,omitempty" protobuf:"bytes,15,opt,name=ipFamily,Configcasttype=IPFamily"`
removal lgtm, one comment on the tombstone |
e8f24a8
to
941b37b
Compare
ok, updated... |
checked the diff on the fixture files was dropping tag 15: --- /dev/fd/63 2022-05-05 16:03:00.000000000 -0400
+++ /dev/fd/62 2022-05-05 16:03:00.000000000 -0400
@@ -37,7 +37,6 @@
7: 1
}
14: "14"
- 15: "15"
17 {
1: "16"
2: "\351\220\212\345\224\212\351\243\231\305\236-U\345\234\264\303\267a/\311\224}\346\221\201(\346\271\227\304\206]" looks like an extensions/v1beta1 NetworkPolicy type got missed in the fixture update? (unit test failure) |
/approve lgtm once the unit test is fixed |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lavalamp, liggitt 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 |
That's very weird, I'll run it again... |
941b37b
to
211ee28
Compare
OK, figured it out. |
Actually, wait, I probably have clobbered the base files and should double check that |
211ee28
to
a427cd6
Compare
OK I think everything should be right now. |
/test pull-kubernetes-e2e-gce-ubuntu-containerd |
/lgtm |
This completes the work started in #108717. It should not merge until merges reopen for 1.25.
The compatibility test will fail until I run the command to update it, which I can't do until the tag for 1.24.0 exists.