Files
nomad/e2e/consulcompat/input/consul-policy-for-tasks.hcl
Tim Gross 6c2d5a0fbb E2E: Consul compatibility matrix tests (#18799)
Set up a new test suite that exercises Nomad's compatibility with Consul. This
suite installs all currently supported versions of Consul, spins up a Consul
agent with appropriate configuration, and a Nomad agent running in dev
mode. Then it runs a Connect job against each pair.
2023-10-24 16:03:53 -04:00

14 lines
308 B
HCL

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// policy without namespaces, for Consul CE. This policy is for Nomad tasks
// using WI so they can read services and KV from Consul when rendering templates.
key_prefix "" {
policy = "read"
}
service_prefix "" {
policy = "read"
}