Expose portal sdk port 07/56307/2
authorhb123f <hb123f@att.com>
Thu, 12 Jul 2018 18:21:16 +0000 (14:21 -0400)
committerBorislav Glozman <Borislav.Glozman@amdocs.com>
Sun, 15 Jul 2018 11:02:41 +0000 (11:02 +0000)
Issue-ID: OOM-1117

Expose portal sdk port on OOM

Change-Id: Ie663733cab6bad1650c7b92efab60c6478e3b06f
Signed-off-by: hb123f <hb123f@att.com>
kubernetes/portal/charts/portal-mariadb/values.yaml
kubernetes/portal/charts/portal-sdk/templates/service.yaml
kubernetes/portal/charts/portal-sdk/values.yaml

index fe41734..cc66250 100644 (file)
@@ -56,7 +56,7 @@ config:
   # application's front end hostname.  Must be resolvable on the client side environment
   cliHostName: "cli.api.simpledemo.onap.org"
   # portal sdk (demo app) ui assignment for port 8990
-  portalSdkPort: "" # TODO: populate with port
+  portalSdkPort: "30235"
   # application's front end hostname.  Must be resolvable on the client side environment
   portalSdkHostName: "portal-sdk.simpledemo.onap.org"
   # dmaap bus controller ui assignment for port ?
index 75d4a14..7cd0560 100644 (file)
@@ -26,7 +26,7 @@ spec:
   type: {{ .Values.service.type }}
   ports:
     {{if eq .Values.service.type "NodePort" -}}
-    - port: {{ .Values.service.externalPort }}
+    - port: {{ .Values.service.internalPort }}
       targetPort: {{ .Values.service.internalPort }}
       nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
       name: {{ .Values.service.portName }}
index fb4d076..b92685c 100644 (file)
@@ -53,11 +53,11 @@ readiness:
   periodSeconds: 10
 
 service:
-  type: ClusterIP
+  type: NodePort
   name: portal-sdk
   portName: portal-sdk
-  externalPort: 8990
   internalPort: 8080
+  nodePort: 35
 
 mariadb:
   service: