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: take KUBECONFIG env variable into consideration #340

Commits on Apr 26, 2023

  1. fix: take KUBECONFIG env variable into consideration

    Before, the default value set for the `--kubeconfig` flag prevented the
    `KUBECONFIG` env variable to be ever taken into consideration. This
    behavior has now been fixed.
    
    If `--kubeconfig` flag is set, it takes precedence over the `KUBECONFIG` env
    variable.
    
    fixes k8sgpt-ai#331
    
    Signed-off-by: Patrick Pichler <git@patrickpichler.dev>
    Patrick Pichler authored and patrickpichler committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    0b4e927 View commit details
    Browse the repository at this point in the history