We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ff47f commit fe2f853Copy full SHA for fe2f853
kubernetes/utils/create_from_yaml.py
@@ -53,7 +53,7 @@ def create_from_yaml(
53
54
k8s_api_all = []
55
with open(path.abspath(yaml_file)) as f:
56
- yml_document_all = yaml.load_all(f)
+ yml_document_all = yaml.safe_load_all(f)
57
# Load all documents from a single YAML file
58
for yml_document in yml_document_all:
59
# If it is a list type, will need to iterate its items
0 commit comments