Correct the documentation for create_from_dict
The function can create one or more Kuberenetes objects based on the content of data. It can handle all API objects incuding `List` type, which by itself can contain more than one Kuberenetes API objects.
This commit is contained in:
parent
34898387c3
commit
4fa0e87bd7
@ -90,8 +90,8 @@ def create_from_yaml(
|
||||
|
||||
def create_from_dict(k8s_client, data, verbose=False, **kwargs):
|
||||
"""
|
||||
Perform an action from a dictionary containing one or more valid kubernetes
|
||||
objects
|
||||
Perform an action from a dictionary containing valid kubernetes
|
||||
API object (i.e. List, Service, etc).
|
||||
|
||||
Input:
|
||||
k8s_client: an ApiClient object, initialized with the client args.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user