Skip to content

Commit

Permalink
feat(config): add Ebola Sudan to values.yaml, replace sequences with …
Browse files Browse the repository at this point in the history
…urls (#1980)
  • Loading branch information
corneliusroemer committed May 21, 2024
1 parent 9447845 commit 6f0f6cc
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 51 deletions.
2 changes: 1 addition & 1 deletion kubernetes/config-processor/config-processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def replace_url_with_content(file_content):
for url in set(urls):
response = requests.get(url)
if response.status_code == 200:
file_content = file_content.replace(f"[[URL:{url}]]", response.text)
file_content = file_content.replace(f"[[URL:{url}]]", response.text.strip())
return file_content

def make_substitutions(file_content, substitutions):
Expand Down
Loading

0 comments on commit 6f0f6cc

Please sign in to comment.