From 12b91e95660ac8521e5b906903968d5f53854b96 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Tue, 15 Nov 2022 16:54:37 -0800 Subject: [PATCH] Fix env location for lldap --- core/lldap.nomad | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/lldap.nomad b/core/lldap.nomad index ddd1ee7..38e5a27 100644 --- a/core/lldap.nomad +++ b/core/lldap.nomad @@ -92,11 +92,6 @@ job "lldap" { source = "secrets/lldap_config.toml" target = "/lldap_config.toml" } - - env = { - "LLDAP_LDAP_PORT" = "${NOMAD_PORT_ldap}" - "LLDAP_HTTP_PORT" = "${NOMAD_PORT_web}" - } } vault { @@ -106,6 +101,11 @@ job "lldap" { ] } + env = { + "LLDAP_LDAP_PORT" = "${NOMAD_PORT_ldap}" + "LLDAP_HTTP_PORT" = "${NOMAD_PORT_web}" + } + template { data = <