From 2d9adf82d04261f420af4cc5482e442297741a5d Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 23 May 2022 19:54:20 +0200 Subject: Add admin token to garage staging --- app/garage-staging/config/garage.toml | 1 + app/garage-staging/deploy/garage.hcl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/garage-staging/config/garage.toml b/app/garage-staging/config/garage.toml index d24acad..2008827 100644 --- a/app/garage-staging/config/garage.toml +++ b/app/garage-staging/config/garage.toml @@ -27,4 +27,5 @@ index = "index.html" [admin] api_bind_addr = "0.0.0.0:3909" +admin_token = "{{ key "secrets/garage-staging/admin_token" | trimSpace }}" trace_sink = "http://{{ env "attr.unique.network.ip-address" }}:4317" diff --git a/app/garage-staging/deploy/garage.hcl b/app/garage-staging/deploy/garage.hcl index 916eae2..e90e3ce 100644 --- a/app/garage-staging/deploy/garage.hcl +++ b/app/garage-staging/deploy/garage.hcl @@ -29,7 +29,7 @@ job "garage-staging" { driver = "docker" config { - image = "dxflrs/amd64_garage:v0.7.1-k2v" + image = "dxflrs/amd64_garage:v0.7.1-admin-k2v-2" command = "/garage" args = [ "server" ] network_mode = "host" -- cgit v1.2.3