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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kale-amruta
Copy link

@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

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 canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit c510ef5
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/678a346d8f678d0008081abf

@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
Author

@FabianKramm Can you re-review this one?

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
3 participants