update the usage doc of prerelease-lifecycle-gen

This commit is contained in:
carlory 2021-04-28 16:58:57 +08:00
parent f631c0e520
commit 4466e67a77

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.