Skip to content

Commit 10db259

Browse files
committed
Document kwargs param
1 parent 0c662bb commit 10db259

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ def load_config(**kwargs):
2424
Wrapper function to load the kube_config.
2525
It will initially try to load_kube_config from provided path, then check if the KUBE_CONFIG_DEFAULT_LOCATION exists
2626
If neither exists- it will fall back to load_incluster_config and inform the user accordingly.
27+
28+
:param kwargs: A combination of all possible kwargs that can be passed to either load_kube_config or
29+
load_incluster_config functions.
2730
"""
2831
if "kube_config_path" in kwargs.keys() or os.path.exists(KUBE_CONFIG_DEFAULT_LOCATION):
2932
load_kube_config(**kwargs)

0 commit comments

Comments
 (0)