Skip to content

Commit 80339ef

Browse files
committed
Add more documentation to new namespace parameter
1 parent 15d36c9 commit 80339ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

kubernetes/utils/create_from_yaml.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ def create_from_yaml(
3636
verbose: If True, print confirmation from the create action.
3737
Default is False.
3838
namespace: string. Contains the namespace to create all
39-
resources inside
39+
resources inside. The namespace must preexist otherwise
40+
the resource creation will fail. If the API object in
41+
the yaml file already contains a namespace definition
42+
this parameter has no effect.
4043
4144
Returns:
4245
An k8s api object or list of apis objects created from YAML.

0 commit comments

Comments
 (0)