refactor(ops/modules): Move journaldriver configuration into module
This makes the journaldriver configuration machine-independent. The secret is loaded from agenix instead of being persisted on disk. Change-Id: I592ae7f5726fcb7f37a406f69dcf5ac498eeb1b7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5302 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
c72abe04f2
commit
536e01e967
2 changed files with 27 additions and 7 deletions
|
@ -13,6 +13,7 @@ in
|
|||
"${depot.path}/ops/modules/gerrit-queue.nix"
|
||||
"${depot.path}/ops/modules/irccat.nix"
|
||||
"${depot.path}/ops/modules/josh.nix"
|
||||
"${depot.path}/ops/modules/journaldriver.nix"
|
||||
"${depot.path}/ops/modules/known-hosts.nix"
|
||||
"${depot.path}/ops/modules/monorepo-gerrit.nix"
|
||||
"${depot.path}/ops/modules/nixery.nix"
|
||||
|
@ -481,13 +482,6 @@ in
|
|||
ops.deploy-whitby
|
||||
]);
|
||||
|
||||
services.journaldriver = {
|
||||
enable = true;
|
||||
googleCloudProject = "tvl-fyi";
|
||||
logStream = "whitby";
|
||||
applicationCredentials = "/var/lib/journaldriver/key.json";
|
||||
};
|
||||
|
||||
# Required for prometheus to be able to scrape stats
|
||||
services.nginx.statusPage = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue