Update api.tpl.nomad to allow configuration Nomad ACL Token for Poseidon

This commit is contained in:
Jan-Eric Hellenberg
2021-07-29 12:17:19 +02:00
committed by Jan-Eric Hellenberg
parent 67ebdbd650
commit 5c9f975285

View File

@ -68,10 +68,11 @@ job "${NOMAD_SLUG}" {
} }
env { env {
POSEIDON_SERVER_ADDRESS = "${POSEIDON_LISTEN_ADDRESS}" POSEIDON_SERVER_ADDRESS = "${POSEIDON_LISTEN_ADDRESS}"
POSEIDON_NOMAD_ADDRESS = "${NOMAD_SERVER_HOST}" POSEIDON_NOMAD_ADDRESS = "${NOMAD_SERVER_HOST}"
POSEIDON_NOMAD_NAMESPACE = "${NOMAD_NAMESPACE}" POSEIDON_NOMAD_NAMESPACE = "${NOMAD_NAMESPACE}"
POSEIDON_NOMAD_TLS_ACTIVE = "${NOMAD_TLS_ACTIVE}" POSEIDON_NOMAD_TOKEN = "${DEPLOY_POSEIDON_NOMAD_TOKEN}"
POSEIDON_NOMAD_TLS_ACTIVE = "${DEPLOY_POSEIDON_NOMAD_TLS_ACTIVE}"
POSEIDON_NOMAD_TLS_CAFILE = "nomad-ca.crt" POSEIDON_NOMAD_TLS_CAFILE = "nomad-ca.crt"
} }