Skip to content

Commit

Permalink
Add more documentation to new namespace parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
johscheuer committed Apr 8, 2019
1 parent 15d36c9 commit 80339ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kubernetes/utils/create_from_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 80339ef

Please sign in to comment.