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: deprecate kubernetes-version flag in vcluster create #2389

Open
wants to merge 1 commit 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
Deprecated the kubernetes-version flag in vcluster createcommand, kubernetes version can now be configured from values.yaml.

What else do we need to know?

Deprecation note:

vcluster create v3 --kubernetes-version 1.27.16
Flag --kubernetes-version has been deprecated, please specify the kubernetes version by setting "controlPlane.distro.k8s.version" accordingly via values.yaml file.
17:17:45 info Using vCluster driver 'helm' to create your virtual clusters, which means the vCluster CLI is running helm commands directly

Since the flag is deprecated, the warning related to only supporting major.minor is also removed which will no longer makes sense.

Copy link

netlify bot commented Jan 9, 2025

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit f459b87
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/677fb949ad1d4700084736a9

@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
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
1 participant