mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
When Nomad registers a service within Consul it is regarded as a node service. In order for Nomad workloads to read these services, it must have an ACL policy which includes node_prefix read. If it does not, the service is filtered out from the result. This change adds the required permission to the Consul setup command.
12 lines
115 B
HCL
12 lines
115 B
HCL
node_prefix "" {
|
|
policy = "read"
|
|
}
|
|
|
|
service_prefix "" {
|
|
policy = "read"
|
|
}
|
|
|
|
key_prefix "" {
|
|
policy = "read"
|
|
}
|