From 70f26fbcc43b9ff442d0fc917810ffec2f5accbc Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 25 Mar 2024 12:17:39 +0100 Subject: [PATCH] Fix intention --- consul/config/service-intentions/matrix.hcl | 2 +- example/consul/config/service-intentions/matrix.hcl | 2 +- example/matrix.nomad.hcl | 5 +++-- example/prep.d/{20-rand-pwd.sh => 20-matrix-rand-secrets} | 0 prep.d/{20-rand-pwd.sh => 20-matrix-rand-secrets} | 0 5 files changed, 5 insertions(+), 4 deletions(-) rename example/prep.d/{20-rand-pwd.sh => 20-matrix-rand-secrets} (100%) rename prep.d/{20-rand-pwd.sh => 20-matrix-rand-secrets} (100%) diff --git a/consul/config/service-intentions/matrix.hcl b/consul/config/service-intentions/matrix.hcl index 4592e55..8a40e29 100644 --- a/consul/config/service-intentions/matrix.hcl +++ b/consul/config/service-intentions/matrix.hcl @@ -9,7 +9,7 @@ Sources = [ HTTP { PathPrefix = "/_synapse/metrics" } - } + }, { Action = "allow" HTTP { diff --git a/example/consul/config/service-intentions/matrix.hcl b/example/consul/config/service-intentions/matrix.hcl index dafa71f..0202a5f 100644 --- a/example/consul/config/service-intentions/matrix.hcl +++ b/example/consul/config/service-intentions/matrix.hcl @@ -9,7 +9,7 @@ Sources = [ HTTP { PathPrefix = "/_synapse/metrics" } - } + }, { Action = "allow" HTTP { diff --git a/example/matrix.nomad.hcl b/example/matrix.nomad.hcl index 3cbb768..ae54f6b 100644 --- a/example/matrix.nomad.hcl +++ b/example/matrix.nomad.hcl @@ -24,8 +24,9 @@ job "matrix" { port = 8008 meta { - alloc = "${NOMAD_ALLOC_INDEX}" - job = "${NOMAD_JOB_NAME}" + alloc = "${NOMAD_ALLOC_INDEX}" + job = "${NOMAD_JOB_NAME}" + namespace = "${NOMAD_NAMESPACE}" } diff --git a/example/prep.d/20-rand-pwd.sh b/example/prep.d/20-matrix-rand-secrets similarity index 100% rename from example/prep.d/20-rand-pwd.sh rename to example/prep.d/20-matrix-rand-secrets diff --git a/prep.d/20-rand-pwd.sh b/prep.d/20-matrix-rand-secrets similarity index 100% rename from prep.d/20-rand-pwd.sh rename to prep.d/20-matrix-rand-secrets