Skip to content

Commit

Permalink
Merge pull request kubernetes-client#1947 from arrikto/feature-out-of…
Browse files Browse the repository at this point in the history
…-cluster-token-refresh

Fix the refreshing of tokens from outside the cluster
  • Loading branch information
k8s-ci-robot authored Jan 16, 2023
2 parents 8c8c15b + a07531b commit 8f80cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/base/config/kube_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def _set_config(self, client_configuration):
def _refresh_api_key(client_configuration):
if ('expiry' in self.__dict__ and _is_expired(self.expiry)):
self._load_authentication()
self._set_config(client_configuration)
self._set_config(client_configuration)
client_configuration.refresh_api_key_hook = _refresh_api_key
# copy these keys directly from self to configuration object
keys = ['host', 'ssl_ca_cert', 'cert_file', 'key_file', 'verify_ssl']
Expand Down

0 comments on commit 8f80cf4

Please sign in to comment.