Skip to content

v1beta1 -> v1beta2 migration tool #12716

@fabriziopandini

Description

@fabriziopandini

What would you like to be added (User Story)?

As a user I would like something helping me in the migration v1beta1 -> v1beta2

Detailed Description

It could be useful to add to clusterctl an alpha command performing v1beta1 -> v1beta2 migration of a given input file (reads a file/reads from stdin, call conversions for all the objects in the file, prints the output to stdout).

Anything else you would like to add?

Some limitation applies:

  • Only core CAPI resources can be migrated
  • Migration will be "mechanical", calling top level conversion func without any additional context
  • Output will be serialized using standard yaml librearies, and this implies loosing comments or changing fields order
  • API version for references will be dropped in most cases (as expected) with a few notable exceptions like external remediation and cluster class references
  • ClusterClass patches will not me migrated (same as cluster class references)

Those limitation should be documented in the command help

Label(s) to be applied

/kind feature
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.

Metadata

Metadata

Assignees

Labels

area/clusterctlIssues or PRs related to clusterctlhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.priority/backlogHigher priority than priority/awaiting-more-evidence.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions