diff --git a/kubernetes/utils/create_from_yaml.py b/kubernetes/utils/create_from_yaml.py index c14850d80..5c116beb5 100644 --- a/kubernetes/utils/create_from_yaml.py +++ b/kubernetes/utils/create_from_yaml.py @@ -36,7 +36,10 @@ def create_from_yaml( verbose: If True, print confirmation from the create action. Default is False. namespace: string. Contains the namespace to create all - resources inside + resources inside. The namespace must preexist otherwise + the resource creation will fail. If the API object in + the yaml file already contains a namespace definition + this parameter has no effect. Returns: An k8s api object or list of apis objects created from YAML.