Update dependencies (#163)
* update dependencies * fix kubeconfig loader * use pipenv * add missing pipenv shell * tox-pipenv * pipenv on Travis * add cache files to gitignore
This commit is contained in:
@@ -141,7 +141,7 @@ class KubeconfigDiscoverer:
|
||||
if self._contexts and context['name'] not in self._contexts:
|
||||
# filter out
|
||||
continue
|
||||
config = kubernetes.client.ConfigurationObject()
|
||||
config = kubernetes.client.configuration.Configuration()
|
||||
kubernetes.config.load_kube_config(config_file, context=context['name'], client_configuration=config)
|
||||
authorization = config.api_key.get('authorization')
|
||||
if authorization:
|
||||
|
||||
Reference in New Issue
Block a user