From 84b72fd1829d6fee4f38a9420554c8a615892049 Mon Sep 17 00:00:00 2001 From: radiantly Date: Tue, 19 Oct 2021 01:08:44 +0530 Subject: [PATCH] Add changelog note and amend docs --- .changelog/11328.txt | 3 +++ website/content/docs/agent/options.mdx | 10 ++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changelog/11328.txt diff --git a/.changelog/11328.txt b/.changelog/11328.txt new file mode 100644 index 000000000..637a3876e --- /dev/null +++ b/.changelog/11328.txt @@ -0,0 +1,3 @@ +```release-note:improvement +config: Allow ${} style interpolation for UI Dashboard template URLs +``` diff --git a/website/content/docs/agent/options.mdx b/website/content/docs/agent/options.mdx index 93dea72b1..dbc1050ad 100644 --- a/website/content/docs/agent/options.mdx +++ b/website/content/docs/agent/options.mdx @@ -2174,11 +2174,13 @@ bind_addr = "{{ GetPrivateInterfaces | include \"network\" \"10.0.0.0/8\" | attr The placeholders available are: - - `{{Service.Name}}` or `${Service.Name}` - Replaced with the current service's name. - - `{{Service.Namespace}}` or `${Service.Namespace}` - Replaced with the current service's namespace or empty if namespaces are not enabled. - - `{{Datacenter}}` or `${Datacenter}` - Replaced with the current service's datacenter. + - `${Service.Name}` or `{{Service.Name}}` - Replaced with the current service's name. + - `${Service.Namespace}` or `{{Service.Namespace}}` - Replaced with the current + service's namespace or empty if namespaces are not enabled. + - `${Datacenter}` or `{{Datacenter}}` - Replaced with the current service's datacenter. - ~> **Note:** The `${}` style interpolation is only available from Consul TBD. + ~> **Note:** The newer `${}` style interpolation is only available from Consul TBD, but is + preferred as it does not conflict with Helm's own template interpolation. - `ui_dir` - **This field is deprecated in Consul 1.9.0. See the [`ui_config.dir`](#ui_config_dir) field instead.** Equivalent to the [`-ui-dir`](#_ui_dir) command-line