monitoring: fix openbao token output path
Some checks failed
Run nix flake check / flake-check (pull_request) Successful in 2m17s
Run nix flake check / flake-check (push) Failing after 8m57s

The outputDir with extractKey should be the full file path, not just
the parent directory.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-05 21:56:26 +01:00
parent 3cccfc0487
commit b322b1156b

View File

@@ -11,7 +11,7 @@ in
vault.secrets.openbao-token = {
secretPath = "hosts/monitoring01/openbao-token";
extractKey = "token";
outputDir = "/run/secrets/prometheus";
outputDir = "/run/secrets/prometheus/openbao-token";
mode = "0400";
owner = "prometheus";
services = [ "prometheus" ];