diff --git a/kube_ops_view/cluster_discovery.py b/kube_ops_view/cluster_discovery.py index 250c23b..d9ca66e 100644 --- a/kube_ops_view/cluster_discovery.py +++ b/kube_ops_view/cluster_discovery.py @@ -75,7 +75,8 @@ def __init__(self, api_server_urls: list): # => assume default kubectl proxy URL cluster = Cluster(generate_cluster_id(DEFAULT_CLUSTERS), DEFAULT_CLUSTERS) else: - config = kubernetes.client.configuration + # "load_incluster_config" set defaults in the config class + config = kubernetes.client.configuration.Configuration() cluster = Cluster( generate_cluster_id(config.host), config.host,