Skip to content

Commit

Permalink
Change consul SI tokens to be local
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemarey committed May 28, 2020
1 parent d6591a5 commit 5acc4c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nomad/consul.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ func (c *consulACLsAPI) CreateToken(ctx context.Context, sir ServiceIdentityRequ
partial := &api.ACLToken{
Description: sir.Description(),
ServiceIdentities: []*api.ACLServiceIdentity{{ServiceName: service}},
Local: true,
}

// Ensure we are under our rate limit.
Expand Down

0 comments on commit 5acc4c2

Please sign in to comment.