open-consul/ui-v2/app/components/node-identity/index.hbs

19 lines
269 B
Handlebars

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