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

29 lines
453 B
Handlebars

{{#if (env "CONSUL_NSPACES_ENABLED")}}
namespace "{{@nspace}}" {
service "{{@name}}" {
policy = "write"
}
service "{{@name}}-sidecar-proxy" {
policy = "write"
}
service_prefix "" {
policy = "read"
}
node_prefix "" {
policy = "read"
}
}
{{else}}
service "{{@name}}" {
policy = "write"
}
service "{{@name}}-sidecar-proxy" {
policy = "write"
}
service_prefix "" {
policy = "read"
}
node_prefix "" {
policy = "read"
}
{{/if}}