Skip to content

Commit 7c394cb

Browse files
author
Marc Schöchlin
committed
add client
1 parent a79187e commit 7c394cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/daemon_thread.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def __init__(self, config, config_name,
7272

7373
if hasattr(config, "k8s_config_type") and config.k8s_config_type.lower() == "incluster":
7474
kube_config.load_incluster_config()
75+
self.api_client = client.ApiClient()
7576
elif hasattr(config, "k8s_config_type") and config.k8s_config_type.lower() == "kubeconfig":
7677
kube_config.load_kube_config()
7778
self.api_client = kube_config.new_client_from_config()

0 commit comments

Comments
 (0)