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

(bug) Use clusterapi utility to fetch Kubeconfig from Secret #351

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

gianlucam76
Copy link
Member

Before this PR, Sveltos had an assumption that the Secret containing the Kubeconfig for a CAPI cluster had only one kv pair in its data section. That was an incorrect assumption. And while it worked for many CAPI clusters it cause problem in certain cases.

This PR replaces that assumption using a clusterAPI utility.

This PR also advances pins of some packages.

closes #350

Before this PR, Sveltos had an assumption that the Secret containing
the Kubeconfig for a CAPI cluster had only one kv pair in its data section.
That was an incorrect assumption. And while it worked for many CAPI clusters
it cause problem in certain cases.

This PR replaces that assumption using a clusterAPI utility.

This PR also advances pins of some packages.
@gianlucam76 gianlucam76 merged commit 767c014 into projectsveltos:dev Aug 30, 2024
2 checks passed
@gianlucam76 gianlucam76 deleted the prep branch August 30, 2024 06:55
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.

1 participant