github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/e2e/consulacls/nomad-client-policy.hcl (about)

     1  // The Nomad Client will be registering things into its buddy Consul Client.
     2  // Note: because we also test the use of Consul namespaces, this token must be
     3  // able to register services, read the keystore, and read node data for any
     4  // namespace.
     5  
     6  agent_prefix "" {
     7    policy = "read"
     8  }
     9  
    10  namespace_prefix "" {
    11    key_prefix "" {
    12      policy = "read"
    13    }
    14  
    15    node_prefix "" {
    16      policy = "read"
    17    }
    18  
    19    service_prefix "" {
    20      policy = "write"
    21    }
    22  }