Update nomad var location.

This commit is contained in:
2024-01-15 10:15:28 +00:00
parent 7dbd5652ed
commit 9e6e95d1e9

View File

@@ -23,7 +23,7 @@ job "mysql" {
}
env {
MYSQL_ROOT_PASSWORD = "{{ with nomadVar \"nomad/jobs/mysql\" }}{{ .root_password }}{{ end }}"
MYSQL_ROOT_PASSWORD = "{{ with nomadVar \"secrets/mysql\" }}{{ .root_password }}{{ end }}"
}
service {