mirror of
https://github.com/kemko/nomad.git
synced 2026-01-02 00:15:43 +03:00
https://datatracker.ietf.org/doc/html/rfc5952#section-4 * copy NormalizeAddr func from vault * PRs hashicorp/vault#29228 & hashicorp/vault#29517 * normalize bind/advertise addrs * normalize consul/vault addrs
39 lines
929 B
JSON
39 lines
929 B
JSON
{
|
|
"consul": [
|
|
{
|
|
"address": "127.0.0.1:9501",
|
|
"allow_unauthenticated": false,
|
|
"token": "abracadabra",
|
|
"timeout": "20s"
|
|
},
|
|
{
|
|
"name": "alternate",
|
|
"server_service_name": "nomad",
|
|
"server_http_check_name": "nomad-server-http-health-check",
|
|
"server_serf_check_name": "nomad-server-serf-health-check",
|
|
"server_rpc_check_name": "nomad-server-rpc-health-check",
|
|
"client_service_name": "nomad-client",
|
|
"client_http_check_name": "nomad-client-http-health-check",
|
|
"address": "[0:0::1F]:8501",
|
|
"allow_unauthenticated": true,
|
|
"token": "xyzzy",
|
|
"auth": "username:pass"
|
|
},
|
|
{
|
|
"name": "other",
|
|
"service_identity": {
|
|
"aud": [
|
|
"consul-other.io"
|
|
],
|
|
"ttl": "3h"
|
|
},
|
|
"task_identity": {
|
|
"aud": [
|
|
"consul-other.io"
|
|
],
|
|
"ttl": "5h"
|
|
}
|
|
}
|
|
]
|
|
}
|