Skip to content
This repository was archived by the owner on Mar 13, 2022. It is now read-only.

Commit 26cb526

Browse files
strigazimbohlool
authored andcommitted
Use oauth2 from google-auth (#16)
oauth2client is deprecated [1], use google-auth. [1] https://github.com/google/oauth2client/releases (see Note) Related-Issue: kubernetes-client/python#275 Signed-off-by: Spyros Trigazis <[email protected]>
1 parent 4318bc6 commit 26cb526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/kube_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import urllib3
2121
import yaml
22-
from oauth2client.client import GoogleCredentials
22+
from google.oauth2.credentials import Credentials
2323

2424
from kubernetes.client import ApiClient, ConfigurationObject, configuration
2525

0 commit comments

Comments
 (0)