nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests

commit 60dc57f10d5298376786317650072afbb57a7721
parent 1bde20237a0eb528ec87bfb3e6c74ad1b5dd9ec2
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Wed, 10 Jul 2024 14:08:31 +0200

feat(vault-tls): only run on boa servers

Diffstat:
Mhcl/default/vault-tls/nomad-vault-tls.nomad | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/hcl/default/vault-tls/nomad-vault-tls.nomad b/hcl/default/vault-tls/nomad-vault-tls.nomad @@ -31,11 +31,16 @@ job "vault-tls" { group "vault-tls" { # All groups in this job should be scheduled on different hosts - count = 4 + count = 3 constraint { distinct_hosts = true } + constraint { + # bao only running on nomad/consul server nodes + attribute = "${attr.consul.server}" + value = "true" + } volume "tls" { type = "csi"