From 4a6b1ec93ceae12b839a7c88597d1b2331f6dc0c Mon Sep 17 00:00:00 2001 From: Ranjandas Date: Tue, 18 Jun 2024 13:07:15 +1000 Subject: [PATCH] Adds recursors for Nomad Transparent Proxy requirement --- scenarios/nomad-consul-quickstart/hashibox.yaml | 3 +++ scenarios/nomad-secure/hashibox.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/scenarios/nomad-consul-quickstart/hashibox.yaml b/scenarios/nomad-consul-quickstart/hashibox.yaml index 345c964..eb140ac 100644 --- a/scenarios/nomad-consul-quickstart/hashibox.yaml +++ b/scenarios/nomad-consul-quickstart/hashibox.yaml @@ -58,6 +58,9 @@ provision: if [[ $MODE == "client" ]]; then cat <<-EOF > /etc/consul.d/client.hcl + + recursors = ["1.1.1.1", "8.8.8.8"] + ports { grpc = 8502 } diff --git a/scenarios/nomad-secure/hashibox.yaml b/scenarios/nomad-secure/hashibox.yaml index ba49cfa..a205230 100644 --- a/scenarios/nomad-secure/hashibox.yaml +++ b/scenarios/nomad-secure/hashibox.yaml @@ -102,6 +102,8 @@ provision: connect { enabled = true } + + recursors = ["1.1.1.1", "8.8.8.8"] ports { https = 8501