kubernetes / kubernetes/website

"Migrate Kubernetes Objects Using Storage Version Migration" is unclear

Open
#46,509 23 comments 0 reactions 1 assignee Claimed by @michaelasp View on GitHub
language/en lifecycle/rotten needs-triage sig/api-machinery
Dominant language
HTML
Stars
5.4k
Forks
15.7k
Avg merge
4d 18h
Merged PRs (30d)
204

Description

It seems like the `#update-the-preferred-storage-schema-of-a-crd` example contains a contradiction.

At the beginning:

> Before setting v2 as the preferred storage schema version, it's important to ensure that all existing CRs stored as v1 are migrated to v2.

However the text seems to be doing the exact opposite: *first* change `storage` to `true` on `v2`, and *then* create a `StorageVersionMigration`.

Or am I misunderstanding something? But even if I am, others might as well 😅

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.