open-consul/ui/packages/consul-ui/app/components/consul/service-identity/template/index.hbs

29 lines
453 B
Handlebars
Raw Normal View History

{{#if (env "CONSUL_NSPACES_ENABLED")}}
2020-11-30 18:42:59 +00:00
namespace "{{@nspace}}" {
service "{{@name}}" {
policy = "write"
}
2020-11-30 18:42:59 +00:00
service "{{@name}}-sidecar-proxy" {
policy = "write"
}
service_prefix "" {
policy = "read"
}
node_prefix "" {
policy = "read"
}
}
{{else}}
2020-11-30 18:42:59 +00:00
service "{{@name}}" {
policy = "write"
}
2020-11-30 18:42:59 +00:00
service "{{@name}}-sidecar-proxy" {
policy = "write"
}
service_prefix "" {
policy = "read"
}
node_prefix "" {
policy = "read"
}
{{/if}}