From b1bca7bfc9a595df8437434f3083a6248f97973b Mon Sep 17 00:00:00 2001 From: Jorge Marey Date: Thu, 28 May 2020 15:20:15 +0200 Subject: [PATCH] Change consul SI tokens to be local --- nomad/consul.go | 1 + 1 file changed, 1 insertion(+) diff --git a/nomad/consul.go b/nomad/consul.go index 95b0e3ff9949..61a04816f3e2 100644 --- a/nomad/consul.go +++ b/nomad/consul.go @@ -290,6 +290,7 @@ func (c *consulACLsAPI) CreateToken(ctx context.Context, sir ServiceIdentityRequ Description: sir.Description(), ServiceIdentities: []*api.ACLServiceIdentity{{ServiceName: service}}, Namespace: sir.ConsulNamespace, + Local: true, } // Ensure we are under our rate limit.