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.
This commit is contained in:
James Rasell
2025-03-10 09:06:09 +01:00
committed by GitHub
parent 57cd92274c
commit f94016816d
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
node_prefix "" {
policy = "read"
}
service_prefix "" {
policy = "read"
}