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

Use custom datadir in kubeconfig command #536

Merged
merged 3 commits into from
Aug 16, 2023
Merged

Use custom datadir in kubeconfig command #536

merged 3 commits into from
Aug 16, 2023

Conversation

kke
Copy link
Contributor

@kke kke commented Aug 14, 2023

Fixes #510
Fixes #533

Uses host's datadir from config for getting kubeconfig instead of a hardcoded /var/lib/k0s.

@kke kke added the bug Something isn't working label Aug 14, 2023
Signed-off-by: Kimmo Lehto <[email protected]>
@kke
Copy link
Contributor Author

kke commented Aug 16, 2023

I don't like it but the whole thing begs for refactoring.

@kke kke merged commit 5e11c56 into main Aug 16, 2023
18 checks passed
@kke kke deleted the kubeconfig-datadir branch August 16, 2023 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kubeconfig command doesn't respect dataDir option k0sctl kubeconfig does not use custom dataDir
1 participant