From 5c9f975285b1a5f1131d7f772f6cd08c12881fc1 Mon Sep 17 00:00:00 2001 From: Jan-Eric Hellenberg Date: Thu, 29 Jul 2021 12:17:19 +0200 Subject: [PATCH] Update api.tpl.nomad to allow configuration Nomad ACL Token for Poseidon --- deploy/api.tpl.nomad | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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" }