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

KUBECONFIG environment variable not recognized by duplik8s #8

Closed
Quiwy opened this issue Nov 18, 2024 · 1 comment · Fixed by #9
Closed

KUBECONFIG environment variable not recognized by duplik8s #8

Quiwy opened this issue Nov 18, 2024 · 1 comment · Fixed by #9
Assignees
Labels
bug Something isn't working

Comments

@Quiwy
Copy link

Quiwy commented Nov 18, 2024

When using export KUBECONFIG=/path_to/kubeconfig, it seems that duplik8s does not take the environment variable into account.

Is it possible to make duplik8s use the KUBECONFIG environment variable?

While it works with the CLI using the --kubeconfig /path_to/kubeconfig parameter, it does not work when using k9s, which relies on the KUBECONFIG environment variable. In this case, it is not possible to use duplik8s directly.

Version used : duplicate v0.3.0

@Telemaco019 Telemaco019 added the bug Something isn't working label Nov 19, 2024
@Telemaco019
Copy link
Owner

Hi @Quiwy, thanks for raising the issue! Good point, I recently fixed the same issue in kubesafe: Telemaco019/kubesafe#11

I'll implement this soon in duplik8s too ;)

@Telemaco019 Telemaco019 self-assigned this Nov 19, 2024
@Telemaco019 Telemaco019 linked a pull request Dec 1, 2024 that will close this issue
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 a pull request may close this issue.

2 participants