You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2020/01/03 12:13:53 UTC

[openwhisk-deploy-kube] branch master updated: use correct macro for apigw host in install-package job (#565)

This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-deploy-kube.git


The following commit(s) were added to refs/heads/master by this push:
     new 85da0ff  use correct macro for apigw host in install-package job (#565)
85da0ff is described below

commit 85da0ff3a53f2e1e35ef971e3976518cc1756cb7
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Fri Jan 3 07:13:44 2020 -0500

    use correct macro for apigw host in install-package job (#565)
    
    Use a more robust helper macro to get the hostname for
    the apigw service for use when installing routemgmt functions.
    
    Fixes #499.
---
 helm/openwhisk/templates/install-packages-job.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helm/openwhisk/templates/install-packages-job.yaml b/helm/openwhisk/templates/install-packages-job.yaml
index f583395..6535ac8 100644
--- a/helm/openwhisk/templates/install-packages-job.yaml
+++ b/helm/openwhisk/templates/install-packages-job.yaml
@@ -69,7 +69,7 @@ spec:
                 name: {{ .Release.Name }}-whisk.config
                 key: whisk_system_namespace
           - name: "WHISK_API_GATEWAY_HOST_V2"
-            value: "http://$({{ upper .Release.Name }}_APIGATEWAY_SERVICE_HOST):$({{ upper .Release.Name }}_APIGATEWAY_SERVICE_PORT_API)/v2"
+            value: "http://{{ include "openwhisk.apigw_host" . }}:{{ .Values.apigw.apiPort }}/v2"
 
           # Provider database configuration
           {{- if .Values.providers.db.external }}