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