From 7bfb482b1ef3a1bf0138c2f9e00700466127c3fc 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 95b0e3ff9..61a04816f 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.