From 65ddb1ab72073d18939259bc22128f56d361d1e8 Mon Sep 17 00:00:00 2001 From: kenia Date: Tue, 20 Apr 2021 14:03:34 -0400 Subject: [PATCH 1/2] Update not-defined intention popover and banner --- .../app/components/topology-metrics/down-lines/index.hbs | 1 + .../app/components/topology-metrics/popover/index.hbs | 2 +- .../consul-ui/translations/components/consul/en-us.yaml | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/packages/consul-ui/app/components/topology-metrics/down-lines/index.hbs b/ui/packages/consul-ui/app/components/topology-metrics/down-lines/index.hbs index e5ee6a80e843..10ba159159bc 100644 --- a/ui/packages/consul-ui/app/components/topology-metrics/down-lines/index.hbs +++ b/ui/packages/consul-ui/app/components/topology-metrics/down-lines/index.hbs @@ -93,6 +93,7 @@ {{else if (and item.Intention.Allowed (not item.TransparentProxy) (eq item.Source 'specific-intention'))}} <:body>

- {{t "components.consul.topology-metrics.popover.not-defined.body"}} + {{t "components.consul.topology-metrics.popover.not-defined.body" downstream=@item.Name upstream=@service.Name }}

<:actions as |Actions|> diff --git a/ui/packages/consul-ui/translations/components/consul/en-us.yaml b/ui/packages/consul-ui/translations/components/consul/en-us.yaml index 0372bdd505f2..62e8497c4397 100644 --- a/ui/packages/consul-ui/translations/components/consul/en-us.yaml +++ b/ui/packages/consul-ui/translations/components/consul/en-us.yaml @@ -126,7 +126,7 @@ topology-metrics: URL: dc.services.show.intentions not-defined-intention: header: Connections are not explicitly defined - body: There appears to be an Intention defining traffic, but the services are unable to communicate until that connection is explicitly defined as a downstream or Transparent Proxy mode is turned on. + body: There appears to be an Intention allowing traffic, but the services are unable to communicate until that connection is enabled by defining an explicit upstream or proxies are set to 'transparent' mode. footer: Read the documentation wildcard-intention: header: Permissive Intention @@ -149,5 +149,5 @@ topology-metrics: notExact: Create not-defined: header: No traffic - body: Add the current service as an explicit upstream or turn on Transparent Proxy mode to initiate traffic. + body: Add "{upstream}" as an explicit upstream of "{downstream}" or set the "{downstream}" proxy to "transparent" mode to enable traffic. action: Documentation From 9d3d45880cef135e453a0a154f759ae00ead4346 Mon Sep 17 00:00:00 2001 From: kenia Date: Tue, 27 Apr 2021 16:34:44 -0400 Subject: [PATCH 2/2] Add changelog --- .changelog/10133.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/10133.txt diff --git a/.changelog/10133.txt b/.changelog/10133.txt new file mode 100644 index 000000000000..6ec6a3dd56c2 --- /dev/null +++ b/.changelog/10133.txt @@ -0,0 +1,3 @@ +```release-note:improvement +ui: Updating the wording for the banner and the popover for a service with an upstream that is not explicitly defined. +``` \ No newline at end of file