Fixes for external stack deployment #851

Merged
roysc merged 8 commits from roysc/fix-various into main 2024-07-09 15:37:36 +00:00
Showing only changes of commit 45704f8bff - Show all commits

View File

@ -238,6 +238,11 @@ def _find_extra_config_dirs(parsed_pod_file, pod):
config_dir = host_path.split("/")[2]
if config_dir != pod:
config_dirs.add(config_dir)
for env_file in service_info.get("env_file", []):
if env_file.startswith("../config"):
config_dir = env_file.split("/")[2]
if config_dir != pod:
config_dirs.add(config_dir)
return config_dirs