Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/6-federation/WPB-27060
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`deeplink.json` now contains a new optional field `supportEmail` that may be used by clients.
6 changes: 6 additions & 0 deletions charts/nginz/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ data:
)
"title" .Values.nginx_conf.deeplink.title
}}
{{- if hasKey .Values.nginx_conf.deeplink "supportEmail" }}
{{- $_ := set $deeplink "supportEmail" .Values.nginx_conf.deeplink.supportEmail }}
{{- end }}
Comment thread
Copilot marked this conversation as resolved.
Outdated
{{- if hasKey .Values.nginx_conf.deeplink "apiProxy" }}
{{- $_ := set $deeplink "apiProxy" (dict
"host" .Values.nginx_conf.deeplink.apiProxy.host
Expand Down Expand Up @@ -77,6 +80,9 @@ data:
)
"title" $config.title
}}
{{- if hasKey $config "supportEmail" }}
{{- $_ := set $deeplink "supportEmail" $config.supportEmail }}
{{- end }}
Comment thread
Copilot marked this conversation as resolved.
Outdated
{{- if hasKey $config "apiProxy" }}
{{- $_ := set $deeplink "apiProxy" (dict
"host" $config.apiProxy.host
Expand Down
2 changes: 2 additions & 0 deletions charts/nginz/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ nginx_conf:
# accountsURL: "https://account.example.com"
# blackListURL: "https://clientblacklist.example.com/prod"
# websiteURL: "https://example.com"
# supportEmail: "support@example.com" # (optional)
# apiProxy: # (optional)
# host: "socks5.proxy.com"
# port: 1080
Expand All @@ -78,6 +79,7 @@ nginx_conf:
# teamsURL: "https://teams.red.example.com"
# accountsURL: "https://account.red.example.com"
# websiteURL: "https://red.example.com"
# supportEmail: "support@red.example.com" # (optional)
# title: "Production red.example.com"
# apiProxy: # (optional)
# host: "socks5.proxy.com"
Expand Down
6 changes: 6 additions & 0 deletions docs/src/understand/associate/deeplink.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ Note on the meaning of the URLs used below:

: Arbitrary string that may show up in a few places in the app. Should be used as an identifier of the backend servers in question.

`supportEmail` (optional)

: An email address used by clients for support-related contact actions. If it is not configured, the `supportEmail` key is omitted from `deeplink.json`.

### With Added Proxy

`apiProxy:host (optional)`
Expand Down Expand Up @@ -112,6 +116,7 @@ nginz:
accountsURL: "https://account.example.com"
blackListURL: "https://clientblacklist.example.com/prod"
websiteURL: "https://example.com"
supportEmail: "support@example.com" # (optional)
apiProxy: # (optional)
host: "socks5.proxy.com"
port: 1080
Expand Down Expand Up @@ -160,6 +165,7 @@ nginz:
teamsURL: "https://teams.red.example.com"
accountsURL: "https://account.red.example.com"
websiteURL: "https://red.example.com"
supportEmail: "support@red.example.com" # (optional)
title: "Production red.example.com"
apiProxy: # (optional)
host: "socks5.proxy.com"
Expand Down
Loading