From 54c210e141ee89c7be1330bcd382695399eb609d Mon Sep 17 00:00:00 2001 From: wizzdom Date: Thu, 11 Apr 2024 16:20:33 +0100 Subject: [PATCH] update ldap secret perms --- jobs/services/api.hcl | 1 + jobs/services/brickbot.hcl | 1 + 2 files changed, 2 insertions(+) diff --git a/jobs/services/api.hcl b/jobs/services/api.hcl index 1015b48..4cdaf37 100644 --- a/jobs/services/api.hcl +++ b/jobs/services/api.hcl @@ -70,6 +70,7 @@ EOH template { destination = "local/ldap.secret" + perms = "600" data = "{{ key \"api/ldap/secret\" }}" # this is necessary as the secret has no EOF } diff --git a/jobs/services/brickbot.hcl b/jobs/services/brickbot.hcl index 1fcb3b8..872a84d 100644 --- a/jobs/services/brickbot.hcl +++ b/jobs/services/brickbot.hcl @@ -22,6 +22,7 @@ job "brickbot2" { template { destination = "local/ldap.secret" + perms = "600" data = "{{ key \"api/ldap/secret\" }}" # this is necessary as the secret has no EOF }