Merge pull request #101572 from carlory/fix-prerelease-lifecycle-gen-usage

update the usage doc of prerelease-lifecycle-gen
This commit is contained in:
Kubernetes Prow Robot 2021-08-25 07:04:41 -07:00 committed by GitHub
commit 31ca79b69e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,11 +22,12 @@ limitations under the License.
// Generation is governed by comment tags in the source. Any package may
// request Status generation by including a comment in the file-comments of
// one file, of the form:
// // +k8s:prerelease-lifecycle-gen=package
// // +k8s:prerelease-lifecycle-gen=true
//
// // +k8s:prerelease-lifecycle-gen:introduced=1.19
// // +k8s:prerelease-lifecycle-gen:to-be-deprecated=1.22
// // +k8s:prerelease-lifecycle-gen:to-be-removed=1.25
// // +k8s:prerelease-lifecycle-gen:deprecated=1.22
// // +k8s:prerelease-lifecycle-gen:removed=1.25
// // +k8s:prerelease-lifecycle-gen:replacement=wardle.example.com,v1,Flunder
//
// Note that registration is a whole-package option, and is not available for
// individual types.