From f1b505cd524d0e80f323eaf8b5c93692956b5f94 Mon Sep 17 00:00:00 2001 From: Leif Battermann Date: Fri, 8 Mar 2024 11:17:54 +0000 Subject: [PATCH 1/2] nginz chart: added optional api proxy to deeplink json --- charts/nginz/templates/conf/_deeplink.json.tpl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/charts/nginz/templates/conf/_deeplink.json.tpl b/charts/nginz/templates/conf/_deeplink.json.tpl index da5ddb19a6d..5a11f07b1a6 100644 --- a/charts/nginz/templates/conf/_deeplink.json.tpl +++ b/charts/nginz/templates/conf/_deeplink.json.tpl @@ -15,6 +15,15 @@ "websiteURL": {{ .websiteURL | quote }} {{- end }} }, + {{- if hasKey . "apiProxy" }} + {{- with .apiProxy }} + "apiProxy" : { + "host" : {{ .host | quote }}, + "port" : {{ .port }}, + "needsAuthentication" : {{ .needsAuthentication }} + }, + {{- end }} + {{- end }} "title" : {{ .title | quote }} } {{- end }} From 26d50315f814ed32795b8a1471d4d0b704b315a7 Mon Sep 17 00:00:00 2001 From: Leif Battermann Date: Fri, 8 Mar 2024 11:50:22 +0000 Subject: [PATCH 2/2] changelog --- changelog.d/3-bug-fixes/WPB-6524 | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/3-bug-fixes/WPB-6524 diff --git a/changelog.d/3-bug-fixes/WPB-6524 b/changelog.d/3-bug-fixes/WPB-6524 new file mode 100644 index 00000000000..472e85809eb --- /dev/null +++ b/changelog.d/3-bug-fixes/WPB-6524 @@ -0,0 +1 @@ +Optional `apiProxy` attribute added to `deeplink.json` in nginz chart