mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
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.
14 lines
308 B
HCL
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"
|
|
}
|