-
Notifications
You must be signed in to change notification settings - Fork 40.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Deprecated binding for 1.7 #47041
Deprecated binding for 1.7 #47041
Conversation
/cc @smarterclayton |
hi team, would you help to review it? I'd like to get it merge in 1.7 :). |
pkg/api/types.go
Outdated
@@ -3135,7 +3135,8 @@ type NamespaceList struct { | |||
Items []Namespace | |||
} | |||
|
|||
// Binding ties one object to another - for example, a pod is bound to a node by a scheduler. | |||
// Binding ties one object to another; for example, a pod is bound to a node by a scheduler. | |||
// Deprecated in 1.7. |
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.
How about move Deprecated in 1.7.
before the comments?
Such as
// Deprecated in 1.7.
// Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
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.
seems both style are there in the doc :).
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.
Never mind, depend on you.
pkg/api/v1/types.go
Outdated
// Binding ties one object to another. | ||
// For example, a pod is bound to a node by a scheduler. | ||
// Binding ties one object to another; for example, a pod is bound to a node by a scheduler. | ||
// Deprecated in 1.7. |
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.
Ditto
@kubernetes/sig-api-machinery-pr-reviews |
rebased :). |
Protobuf is broken. Otherwise lgtm. |
Green now :) @ sttts , @deads2k can you help to approve? It's better to deprecate it as early as possible :). |
@smarterclayton approved? |
@smarterclayton , would you help to approve this? This PR deprecated "Binding" ( |
/approve Starts the clock on removing the old resource |
No release risk, communicates intent. |
Actually, one tweak? Can you say expand the text to say "deprecated in 1.7, please use the bindings subresource of pods instead."? |
sure, np; updates it right now :). |
Done, ping for lgtm :). |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: k82cn, smarterclayton, sttts Associated issue: 10043 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue |
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #10043