2020-09-18 10:14:06 +00:00
|
|
|
<div class="consul-intention-view">
|
|
|
|
|
|
|
|
<div class="definition-table">
|
|
|
|
<dl>
|
|
|
|
<dt>Destination</dt>
|
|
|
|
<dd>
|
2021-12-13 15:00:51 +00:00
|
|
|
<Consul::Bucket::List
|
|
|
|
@item={{hash
|
|
|
|
Namespace=item.DestinationNS
|
|
|
|
Partition=item.DestinationPartition
|
|
|
|
Service=item.DestinationName
|
|
|
|
}}
|
|
|
|
@nspace="-"
|
|
|
|
@partition="-"
|
|
|
|
@service={{true}}
|
|
|
|
/>
|
2020-09-18 10:14:06 +00:00
|
|
|
</dd>
|
|
|
|
<dt>Source</dt>
|
|
|
|
<dd>
|
2021-12-13 15:00:51 +00:00
|
|
|
<Consul::Bucket::List
|
|
|
|
@item={{hash
|
|
|
|
Namespace=item.SourceNS
|
|
|
|
Partition=item.SourcePartition
|
|
|
|
Service=item.SourceName
|
|
|
|
}}
|
|
|
|
@nspace="-"
|
|
|
|
@partition="-"
|
|
|
|
@service={{true}}
|
|
|
|
/>
|
2020-09-18 10:14:06 +00:00
|
|
|
</dd>
|
|
|
|
{{#if item.Action}}
|
|
|
|
<dt>Action</dt>
|
|
|
|
<dd>
|
|
|
|
{{item.Action}}
|
|
|
|
</dd>
|
|
|
|
{{/if}}
|
|
|
|
<dt>Description</dt>
|
|
|
|
<dd>
|
|
|
|
{{or item.Description 'N/A'}}
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#if (gt item.Permissions.length 0) }}
|
|
|
|
<h2>Permissions</h2>
|
2020-10-26 16:51:53 +00:00
|
|
|
<Consul::Intention::Notice::Permissions />
|
2020-10-14 08:03:39 +00:00
|
|
|
<Consul::Intention::Permission::List
|
2020-09-30 11:33:01 +00:00
|
|
|
@items={{item.Permissions}}
|
|
|
|
/>
|
2020-09-18 10:14:06 +00:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</div>
|