feat: add agent secrets and packages
This commit is contained in:
1 parent
19dea8277e
commit
b67922ca60
5 files changed
+224
-1
No files matched your search
@@ -41,6 +41,17 @@ in {
|
||||
| transpose -r -d
|
||||
| load-env
|
||||
}
|
||||
|
||||
# Load m3tam3re secrets from agenix
|
||||
if ("/run/agenix/m3tam3re-secrets" | path exists) {
|
||||
open /run/agenix/m3tam3re-secrets
|
||||
| lines
|
||||
| where {($in | str trim | str length) > 0}
|
||||
| parse "{key}={value}"
|
||||
| update value {str trim -c '"'}
|
||||
| transpose -r -d
|
||||
| load-env
|
||||
}
|
||||
'';
|
||||
|
||||
configFile.text = ''
|
||||
|
||||
Reference in new issue
Block a user