Skip to content

Commit b1bca7b

Browse files
jorgemareyshoenig
authored andcommitted
Change consul SI tokens to be local
1 parent b43de99 commit b1bca7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nomad/consul.go

+1
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ func (c *consulACLsAPI) CreateToken(ctx context.Context, sir ServiceIdentityRequ
290290
Description: sir.Description(),
291291
ServiceIdentities: []*api.ACLServiceIdentity{{ServiceName: service}},
292292
Namespace: sir.ConsulNamespace,
293+
Local: true,
293294
}
294295

295296
// Ensure we are under our rate limit.

0 commit comments

Comments
 (0)