Class DefaultKubeConfigLoader
java.lang.Object
io.micronaut.kubernetes.client.openapi.config.AbstractKubeConfigLoader
io.micronaut.kubernetes.client.openapi.config.DefaultKubeConfigLoader
- All Implemented Interfaces:
KubeConfigLoader
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
.-
Method Summary
Methods inherited from class io.micronaut.kubernetes.client.openapi.config.AbstractKubeConfigLoader
getKubeConfig, loadKubeConfigFromFile, loadKubeConfigFromInputStream
-
Method Details
-
loadKubeConfig
- Specified by:
loadKubeConfig
in classAbstractKubeConfigLoader
-