diff --git a/templates/restore-odootest.yaml.j2 b/templates/restore-odootest.yaml.j2 index 422af0787fd368f8028ad0c14a96bac250a23f7b..8733ce406976700f4ff3305125d7be17466ad6eb 100644 --- a/templates/restore-odootest.yaml.j2 +++ b/templates/restore-odootest.yaml.j2 @@ -44,6 +44,8 @@ networks: volumes: backups_odoo_backup_cache: +{% if odoo_prod is defined %} external: true +{% endif %} {{ item.dir }}_filestore: external: true diff --git a/templates/restore2-odootest.yaml.j2 b/templates/restore2-odootest.yaml.j2 index 86b0a4bf00ff1c87fd4df36d67ed401c595854c9..36fc61428a904e5985139df122ad3c98ea311f5c 100644 --- a/templates/restore2-odootest.yaml.j2 +++ b/templates/restore2-odootest.yaml.j2 @@ -44,6 +44,8 @@ networks: volumes: backups_odoo_backup2_cache: +{% if odoo_prod is defined %} external: true +{% endif %} {{ item.dir }}_filestore: external: true