Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add "migrate values" command to migrate to new values format #1671

Merged
merged 3 commits into from Apr 12, 2024

Conversation

johannesfrey
Copy link
Contributor

@johannesfrey johannesfrey commented Apr 11, 2024

What issue type does this pull request address? (keep at least one, remove the others)
/kind enhancement

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
Resolves ENG-3274

Please provide a short message that should be published in the vcluster release notes
Add "migrate values" command to vcluster in order to convert the old values format to the new format introduced with 0.20

What else do we need to know?
Current caveat is that the passed in values actually match--distro. Otherwise the MigrateLegacyConfig currently will simply create new default values for the given distro in the new format. So I made --distro mandatory with a warning that it should exactly match the provided values.

Copy link

netlify bot commented Apr 11, 2024

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 1ea7d79
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/6617df79d761e40008e68e26

@heiko-braun
Copy link
Contributor

Maybe we should make --distro mandatory to prevent people accidentally create configs for wrong distro unintentionally?

Copy link
Contributor

@heiko-braun heiko-braun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@heiko-braun heiko-braun merged commit df2c75b into loft-sh:main Apr 12, 2024
71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants