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

fix: remove kubernetes-version flag in vcluster create #2389

Merged
merged 5 commits into from
Feb 10, 2025

Conversation

kale-amruta
Copy link
Contributor

@kale-amruta kale-amruta commented Jan 9, 2025

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

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

Please provide a short message that should be published in the vcluster release notes
Remove the kubernetes-version flag in vcluster createcommand, kubernetes version can now be configured from values.yaml.

What else do we need to know?

Copy link

netlify bot commented Jan 9, 2025

Deploy Preview for vcluster-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit b83dc91
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/67a9c515cb29660008fbec2d
😎 Deploy Preview https://deploy-preview-2389--vcluster-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@kale-amruta kale-amruta marked this pull request as ready for review January 9, 2025 11:56
@kale-amruta kale-amruta changed the title fix(vclusterctl): deprecate kubernetes-version flag in vcluster create fix: deprecate kubernetes-version flag in vcluster create Jan 9, 2025
@felipecrs
Copy link
Contributor

@kale-amruta, I don't think it makes sense to deprecate something that doesn't even work anymore.

So, I think you should drop all the logic behind this flag and even remove the flag itself.

When using it, it should fail to indicate that it's not supported and avoid the confusion of #2294.

Copy link
Member

@FabianKramm FabianKramm left a comment

Choose a reason for hiding this comment

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

@kale-amruta thanks for the PR! See my comment above

pkg/cli/create_helm.go Show resolved Hide resolved
@FabianKramm
Copy link
Member

@kale-amruta can you instead of deprecating this flag, remove it instead?

@kale-amruta kale-amruta force-pushed the removeKuberneteVersion branch from f459b87 to af7604e Compare January 17, 2025 09:47
@kale-amruta kale-amruta changed the title fix: deprecate kubernetes-version flag in vcluster create fix: remove kubernetes-version flag in vcluster create Jan 17, 2025
@kale-amruta
Copy link
Contributor Author

@FabianKramm Can you re-review this one?

cbron
cbron previously approved these changes Feb 7, 2025
Copy link
Contributor

@cbron cbron left a comment

Choose a reason for hiding this comment

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

lgtm, thanks

@cbron
Copy link
Contributor

cbron commented Feb 7, 2025

actually, @kale-amruta there are some failing errors from lint here, can you check them

@cbron cbron merged commit c9f39f8 into loft-sh:main Feb 10, 2025
61 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.

Vcluster 0.21 seems to not respect --kubernetes-version
4 participants