Skip to content

Commit 8f80cf4

Browse files
authored
Merge pull request #1947 from arrikto/feature-out-of-cluster-token-refresh
Fix the refreshing of tokens from outside the cluster
2 parents 8c8c15b + a07531b commit 8f80cf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kubernetes/base/config/kube_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def _set_config(self, client_configuration):
575575
def _refresh_api_key(client_configuration):
576576
if ('expiry' in self.__dict__ and _is_expired(self.expiry)):
577577
self._load_authentication()
578-
self._set_config(client_configuration)
578+
self._set_config(client_configuration)
579579
client_configuration.refresh_api_key_hook = _refresh_api_key
580580
# copy these keys directly from self to configuration object
581581
keys = ['host', 'ssl_ca_cert', 'cert_file', 'key_file', 'verify_ssl']

0 commit comments

Comments
 (0)