hashipi

Raspberry Pi Test Cluster for HashiCorp Vault, Nomad and Consul
git clone https://git.in0rdr.ch/hashipi.git
Log | Files | Refs | README

commit 1082572e26f1f0e058c9f99b2a29114f5575aade
parent cf6d6a80e54f7c38dc0ef8ce6b4ac5b477a5cde1
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sat, 12 Feb 2022 19:28:18 +0100

fix duplicate client block

Diffstat:
Mnomad.sh | 14++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/nomad.sh b/nomad.sh @@ -56,6 +56,12 @@ EOF cat << EOF > /etc/nomad.d/client.hcl client { enabled = true + + # Allow jobs to use the loopback interface for exposing + # private services only accessible from the client nodes + host_network "private" { + cidr = "127.0.0.1/32" + } } # CSI Node plugins must run as privileged Docker jobs @@ -68,14 +74,6 @@ plugin "docker" { } } -# Allow jobs to use the loopback interface for exposing -# private services only accessible from the client nodes -client { - host_network "private" { - cidr = "127.0.0.1/32" - } -} - # Enable raw exec driver (jobs w/o isolation) plugin "raw_exec" { config {