mirror of
https://github.com/kemko/nomad.git
synced 2026-01-02 00:15:43 +03:00
Consul: agent config updates for WI (#18774)
This changeset makes two changes: * Removes the `consul.use_identity` field from the agent configuration. This behavior is properly covered by the presence of `consul.service_identity` / `consul.task_identity` blocks. * Adds a `consul.task_auth_method` and `consul.service_auth_method` fields to the agent configuration. This allows the cluster administrator to choose specific Consul Auth Method names for their environment, with a reasonable default.
This commit is contained in:
4
command/agent/testdata/basic.json
vendored
4
command/agent/testdata/basic.json
vendored
@@ -167,6 +167,9 @@
|
||||
"server_rpc_check_name": "nomad-server-rpc-health-check",
|
||||
"server_serf_check_name": "nomad-server-serf-health-check",
|
||||
"server_service_name": "nomad",
|
||||
"service_auth_method": "nomad-workloads",
|
||||
"task_auth_method": "nomad-tasks",
|
||||
|
||||
"service_identity": {
|
||||
"aud": [
|
||||
"consul.io",
|
||||
@@ -187,7 +190,6 @@
|
||||
},
|
||||
"timeout": "5s",
|
||||
"token": "token1",
|
||||
"use_identity": true,
|
||||
"verify_ssl": true
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user