Add changelog note and amend docs

This commit is contained in:
radiantly 2021-10-19 01:08:44 +05:30
parent 79ba05b2a6
commit 84b72fd182
No known key found for this signature in database
GPG Key ID: 6B113D80D68C409C
2 changed files with 9 additions and 4 deletions

3
.changelog/11328.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:improvement
config: Allow ${} style interpolation for UI Dashboard template URLs
```

View File

@ -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