diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-23 19:54:20 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-23 19:54:20 +0200 |
commit | 2d9adf82d04261f420af4cc5482e442297741a5d (patch) | |
tree | 379a501c67215bb58636f6e47ad0bb15bc1ce459 | |
parent | 6639908fbdb9d5f3769275f101e3ece83b120af3 (diff) | |
download | nixcfg-2d9adf82d04261f420af4cc5482e442297741a5d.tar.gz nixcfg-2d9adf82d04261f420af4cc5482e442297741a5d.zip |
Add admin token to garage staging
-rw-r--r-- | app/garage-staging/config/garage.toml | 1 | ||||
-rw-r--r-- | app/garage-staging/deploy/garage.hcl | 2 |
2 files changed, 2 insertions, 1 deletions
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" |