File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,6 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY'
60
60
# Defining host is optional and default to http://localhost
61
61
configuration.host = " http://localhost"
62
62
63
- # Defining host is optional and default to http://localhost
64
- configuration.host = " http://localhost"
65
63
# Enter a context with an instance of the API kubernetes.client
66
64
with kubernetes.client.ApiClient(configuration) as api_client:
67
65
# Create an instance of the API class
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ def load_config(**kwargs):
28
28
then check if the KUBE_CONFIG_DEFAULT_LOCATION exists
29
29
If neither exists, it will fall back to load_incluster_config
30
30
and inform the user accordingly.
31
-
32
31
:param kwargs: A combination of all possible kwargs that
33
32
can be passed to either load_kube_config or
34
33
load_incluster_config functions.
You can’t perform that action at this time.
0 commit comments