{{#if (env "CONSUL_NSPACES_ENABLED")}}
namespace "default" {
node "{{@name}}" {
policy = "write"
}
namespace_prefix "" {
service_prefix "" {
policy = "read"
{{else}}
{{/if}}