Class DefaultKubeConfigLoader

java.lang.Object
io.micronaut.kubernetes.client.openapi.config.AbstractKubeConfigLoader
io.micronaut.kubernetes.client.openapi.config.DefaultKubeConfigLoader
All Implemented Interfaces:
KubeConfigLoader

@Internal @Singleton public final class DefaultKubeConfigLoader extends AbstractKubeConfigLoader
Default implementation which creates KubeConfig instance from data stored in a kube config file. It first tries to find the kube config file on the path defined in KubernetesClientConfiguration and then on the default path HOME_DIR/.kube/conf.