Update nomad var location.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user