mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
e5f5fc9301
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`.
4 lines
76 B
Plaintext
4 lines
76 B
Plaintext
```release-note:improvement
|
|
api: added `CheckRegisterOpts` to Agent API
|
|
```
|