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: avoid unnecessary proxy container creation for already connected vCluster #2341

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

RokibulHasan7
Copy link
Contributor

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 #

Please provide a short message that should be published in the vcluster release notes
Fixed an issue where vcluster ...

What else do we need to know?
This PR adds a check to prevent the creation of a background proxy container when already connected to the specified vCluster. For example, if the command vcluster connect vcluster-test is run while already connected to vcluster-test, the unnecessary proxy container will no longer be created.

Copy link

netlify bot commented Dec 18, 2024

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 3ff03c9
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/6763dd4d0563e10008b0eab4

pkg/cli/connect_helm.go Outdated Show resolved Hide resolved
Signed-off-by: Rokibul Hasan <[email protected]>
pkg/cli/connect_helm.go Outdated Show resolved Hide resolved
@FabianKramm FabianKramm merged commit a8f1b6e into loft-sh:main Dec 19, 2024
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.

2 participants