mirror of https://github.com/status-im/consul.git
ui: Add TProxy Mode notice banner to service instance Upstreams tab (#10136)
This commit is contained in:
parent
0c9555ec0e
commit
f9a4b6d050
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:improvement
|
||||||
|
ui: Adding a notice about how TransparentProxy mode affects the Upstreams list at the top of tab view
|
||||||
|
```
|
|
@ -35,6 +35,30 @@ as |route|>
|
||||||
@filter={{filters}}
|
@filter={{filters}}
|
||||||
/>
|
/>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{#if (eq proxy.ServiceProxy.Mode 'transparent')}}
|
||||||
|
<Notice
|
||||||
|
@type="warning"
|
||||||
|
as |notice|>
|
||||||
|
<notice.Header>
|
||||||
|
<h3>{{t "routes.dc.services.instance.upstreams.tproxy-mode.header"}}</h3>
|
||||||
|
</notice.Header>
|
||||||
|
<notice.Body>
|
||||||
|
<p>
|
||||||
|
{{t "routes.dc.services.instance.upstreams.tproxy-mode.body"}}
|
||||||
|
</p>
|
||||||
|
</notice.Body>
|
||||||
|
<notice.Footer>
|
||||||
|
<p>
|
||||||
|
<Action
|
||||||
|
@href={{concat (env 'CONSUL_DOCS_URL') '/connect/transparent-proxy'}}
|
||||||
|
@external={{true}}
|
||||||
|
>
|
||||||
|
{{t "routes.dc.services.instance.upstreams.tproxy-mode.footer"}}
|
||||||
|
</Action>
|
||||||
|
</p>
|
||||||
|
</notice.Footer>
|
||||||
|
</Notice>
|
||||||
|
{{/if}}
|
||||||
<DataCollection
|
<DataCollection
|
||||||
@type="upstream-instance"
|
@type="upstream-instance"
|
||||||
@sort={{sort.value}}
|
@sort={{sort.value}}
|
||||||
|
|
|
@ -6,3 +6,9 @@ dc:
|
||||||
<p>
|
<p>
|
||||||
Upstreams are services that may receive traffic from this gateway. If you are not using Consul DNS, please make sure your <code>Host:</code> header uses the correct domain name for the gateway to correctly proxy to its upstreams. Learn more about configuring gateways in our <a href="{CONSUL_DOCS_URL}/connect/ingress-gateways" target="_blank" rel="noopener noreferrer">documentation</a>.
|
Upstreams are services that may receive traffic from this gateway. If you are not using Consul DNS, please make sure your <code>Host:</code> header uses the correct domain name for the gateway to correctly proxy to its upstreams. Learn more about configuring gateways in our <a href="{CONSUL_DOCS_URL}/connect/ingress-gateways" target="_blank" rel="noopener noreferrer">documentation</a>.
|
||||||
</p>
|
</p>
|
||||||
|
instance:
|
||||||
|
upstreams:
|
||||||
|
tproxy-mode:
|
||||||
|
header: Transparent proxy mode
|
||||||
|
body: The upstreams listed on this page have been defined in a proxy registration. There may be more upstreams, though, as "transparent" mode is enabled on this proxy.
|
||||||
|
footer: Read the documentation
|
||||||
|
|
Loading…
Reference in New Issue