diff --git a/deploy/api.tpl.nomad b/deploy/api.tpl.nomad index f7407bd..fb97dbd 100644 --- a/deploy/api.tpl.nomad +++ b/deploy/api.tpl.nomad @@ -68,10 +68,11 @@ job "${NOMAD_SLUG}" { } env { - POSEIDON_SERVER_ADDRESS = "${POSEIDON_LISTEN_ADDRESS}" - POSEIDON_NOMAD_ADDRESS = "${NOMAD_SERVER_HOST}" - POSEIDON_NOMAD_NAMESPACE = "${NOMAD_NAMESPACE}" - POSEIDON_NOMAD_TLS_ACTIVE = "${NOMAD_TLS_ACTIVE}" + POSEIDON_SERVER_ADDRESS = "${POSEIDON_LISTEN_ADDRESS}" + POSEIDON_NOMAD_ADDRESS = "${NOMAD_SERVER_HOST}" + POSEIDON_NOMAD_NAMESPACE = "${NOMAD_NAMESPACE}" + POSEIDON_NOMAD_TOKEN = "${DEPLOY_POSEIDON_NOMAD_TOKEN}" + POSEIDON_NOMAD_TLS_ACTIVE = "${DEPLOY_POSEIDON_NOMAD_TLS_ACTIVE}" POSEIDON_NOMAD_TLS_CAFILE = "nomad-ca.crt" }