Persist OpenBao secrets in /var/lib and make readiness non-blocking
This commit is contained in:
parent
8b54a94c54
commit
15fccd2ff4
6 changed files with 123 additions and 85 deletions
|
|
@ -42,7 +42,7 @@
|
|||
fragments = builtins.attrValues (builtins.mapAttrs (
|
||||
name: s:
|
||||
let
|
||||
secretPath = s.path or ("/run/secrets/" + name);
|
||||
secretPath = s.path or ("/var/lib/openbao-secrets/" + name);
|
||||
in
|
||||
substitute secretPath (s.configChanges or { })
|
||||
) secrets);
|
||||
|
|
@ -85,7 +85,7 @@
|
|||
fragments = builtins.attrValues (builtins.mapAttrs (
|
||||
name: s:
|
||||
let
|
||||
secretPath = s.path or ("/run/secrets/" + name);
|
||||
secretPath = s.path or ("/var/lib/openbao-secrets/" + name);
|
||||
in
|
||||
substitute secretPath (s.hmChanges or { })
|
||||
) secrets);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue