Read the Kubernetes documentation on versioning CRDs, especially the section on specifying multiple versions
If needed, create a new folder for the new API version under pkg/apis/pipeline. Update codegen scripts in the "hack" folder to generate client code for the Go structs in the new folder. Example: #5055
Add Go struct types for the new API version. Example: #5125
Implement apis.Convertible for the old API version. Example: #5202
Add the new versions to the webhook and the CRD. Example: #5234
Switch the "storage" version of the CRD to the new API version, and update the reconciler code to use this API version. Example: #2577
Update examples and documentation to use the new API version.
Existing objects are persisted using the storage version at the time they were created. One way to upgrade them to the new stored version is to write a StorageVersionMigrator, although we have not previously done this.
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )