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: Adding option --use-kubeconfig in vcluster cli arguments, #1729

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LinPr
Copy link
Contributor

@LinPr LinPr commented Apr 30, 2024

feat: Adding option --use-kubeconfig in vcluster cli arguments, which specify the kubeconfig file to be used for vcluster cli

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

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

Please provide a short message that should be published in the vcluster release notes
according to the describtion of this issue , I try to work on this and add some code to impliment this feature
well, there is a slightly different thing which is that I use --use-kubeconfig as the globalflag, because --kube-config flag has already been defined in other subcommand, for example when execute

$ vcluster connect -h 
. . . . . .
    --kube-config string                Writes the created kube config to this file (default "./kubeconfig.yaml")
. . . . . .

What else do we need to know?
this --use-kubeconfig flag support user input relative file path and absolute path

… specify the kubeconfig file to be used for vcluster cli
Copy link

netlify bot commented Apr 30, 2024

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 763cdb7
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/6630b497cdad9800085f455a

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.

kubeconfig arg in vcluster cli
1 participant