Skip to content

Can't load $HOME/.Kube/config when running on Windows #386

@yu-shiba

Description

@yu-shiba

io.kubernetes.client.util.KubeConfig#ENV_HOME is fixed at "HOME", but $HOME is not set under Windows environment.
Therefore io.kubernetes.client.util.ClientBuilder#findConfigInHomeDir() fails and can not read config file.

In "client-go" it corresponds to this problem the following code
https://github.com/kubernetes/client-go/blob/master/util/homedir/homedir.go

but it does not seem to consider "client-java".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions