Update k8s settings
@@ -15,7 +15,6 @@ SSL_CA_CERT = config.get_string('POLYAXON_K8S_SSL_CA_CERT', is_optional=True)
K8S_CONFIG = None
if K8S_AUTHORISATION and K8S_HOST:
- def set_config():
import urllib3
from kubernetes import client
@@ -31,7 +30,3 @@ if K8S_AUTHORISATION and K8S_HOST:
else:
K8S_CONFIG.verify_ssl = False
urllib3.disable_warnings()
-
-
- set_config()
-
