From fc6b02c817ede18a3e15efbd790e133f77a72d3e Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Mon, 30 Mar 2020 11:37:03 -0600 Subject: [PATCH] e2e: minimize Consul ACL policies used in e2e tests Issue #7523 documents the Consul ACLs used in each Consul interface used by Nomad. Minimize the policies used in e2e tests so that we are setting a good example. --- e2e/consulacls/nomad-client-policy.hcl | 8 ++++---- e2e/consulacls/nomad-server-policy.hcl | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/e2e/consulacls/nomad-client-policy.hcl b/e2e/consulacls/nomad-client-policy.hcl index 464d22a5e..3cd908769 100644 --- a/e2e/consulacls/nomad-client-policy.hcl +++ b/e2e/consulacls/nomad-client-policy.hcl @@ -4,10 +4,10 @@ service_prefix "" { policy = "write" } -node_prefix "" { - policy = "write" -} - agent_prefix "" { policy = "read" } + +node_prefix "" { + policy = "read" +} diff --git a/e2e/consulacls/nomad-server-policy.hcl b/e2e/consulacls/nomad-server-policy.hcl index fd47ae56b..160d1a966 100644 --- a/e2e/consulacls/nomad-server-policy.hcl +++ b/e2e/consulacls/nomad-server-policy.hcl @@ -7,10 +7,10 @@ service_prefix "" { policy = "write" } -node_prefix "" { - policy = "write" -} - agent_prefix "" { policy = "read" } + +node_prefix "" { + policy = "read" +}