mirror of https://github.com/hashicorp/consul
api: add `CheckRegisterOpts` method to Agent API (#18943)
Ongoing work to support Nomad Workload Identity for authenticating with Consul will mean that Nomad's service registration sync with Consul will want to use Consul tokens scoped to individual workloads for registering services and checks. The `CheckRegister` method in the API doesn't have an option to pass the token in, which prevent us from sharing the same Consul connection for all workloads. Add a `CheckRegisterOpts` to match the behavior of `ServiceRegisterOpts`.jm/NET-4931
parent
aedc03b7ae
commit
e5f5fc9301
@ -0,0 +1,3 @@
|
|||||||
|
```release-note:improvement
|
||||||
|
api: added `CheckRegisterOpts` to Agent API
|
||||||
|
```
|
Loading…
Reference in new issue