Move nomad var secrets to secrets.enc.json

This commit is contained in:
2025-05-18 23:44:24 +10:00
parent d2279028be
commit 3ab392b50b
6 changed files with 33 additions and 5 deletions

View File

@@ -86,7 +86,7 @@ EOF
template {
data = <<EOF
localhost:5432:*:postgres:{{ with nomadVar "nomad/jobs/postgres" }}{{ .postgress_password }}{{ end }}
localhost:5432:*:postgres:{{ with nomadVar "nomad/jobs/postgres" }}{{ .postgres_password }}{{ end }}
EOF
destination = "secrets/.pgpass"
perms = "0400"