open-consul/ui/packages/consul-ui/app/components/consul/node-identity/template/index.hbs
2020-11-30 18:42:59 +00:00

19 lines
271 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}}