Files
nomad/command/asset/consul-wi-default-policy.hcl
James Rasell f94016816d cli: Add node_prefix read policy to Consul setup task policy. (#25310)
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.
2025-03-10 08:06:09 +00:00

12 lines
115 B
HCL

node_prefix "" {
policy = "read"
}
service_prefix "" {
policy = "read"
}
key_prefix "" {
policy = "read"
}