Change consul SI tokens to be local

This commit is contained in:
Jorge Marey
2020-05-28 15:20:15 +02:00
committed by Seth Hoenig
parent c86642bae4
commit 7bfb482b1e

View File

@@ -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.