From d3fac34e633611aecbb6c3d70beeff33aedadbc4 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 1 Dec 2022 17:35:19 +0100 Subject: [PATCH] staging: simplify litestream config on nix --- cluster/staging/app/im/deploy/im-nix.hcl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cluster/staging/app/im/deploy/im-nix.hcl b/cluster/staging/app/im/deploy/im-nix.hcl index 0d7b79d..b8e59b0 100644 --- a/cluster/staging/app/im/deploy/im-nix.hcl +++ b/cluster/staging/app/im/deploy/im-nix.hcl @@ -43,13 +43,12 @@ job "im" { ] bind = { "../alloc/data" = "/ephemeral", - "secrets/litestream.yml" = "/etc/litestream.yml" } } template { data = file("../config/litestream.yml") - destination = "secrets/litestream.yml" + destination = "etc/litestream.yml" } resources { @@ -189,13 +188,12 @@ EOH ] bind = { "../alloc/data" = "/ephemeral", - "secrets/litestream.yml" = "/etc/litestream.yml" } } template { data = file("../config/litestream.yml") - destination = "secrets/litestream.yml" + destination = "etc/litestream.yml" } resources {