Skip to content

Commit

Permalink
Consistently use yaml.safe_load over yaml.full_load
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Oct 1, 2019
1 parent fee61fb commit 5ef83a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/kind-load-docker-images.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ def extract_images_from_values(chartpress_file, values_file):
"""Returns a list of image:tag strings given a values.yaml file."""

with open(chartpress_file) as f:
chartpress = yaml.full_load(f)
chartpress = yaml.safe_load(f)

with open(values_file) as f:
values = yaml.full_load(f)
values = yaml.safe_load(f)

image_paths = []
for chart in chartpress["charts"]:
Expand Down

0 comments on commit 5ef83a2

Please sign in to comment.