aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorhb123f <hb123f@att.com>2018-07-12 14:21:16 -0400
committerBorislav Glozman <Borislav.Glozman@amdocs.com>2018-07-15 11:02:41 +0000
commitb53c6a3e7dc5fb0c1af7eefcc398dcd5a8cd8fa8 (patch)
tree751fe7828d23ea0b31fe33df0955fb044bd0b92c /kubernetes
parent310736ba91c4e9f8f8037b2014e3f2ab06112f0b (diff)
Expose portal sdk port
Issue-ID: OOM-1117 Expose portal sdk port on OOM Change-Id: Ie663733cab6bad1650c7b92efab60c6478e3b06f Signed-off-by: hb123f <hb123f@att.com>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/portal/charts/portal-mariadb/values.yaml2
-rw-r--r--kubernetes/portal/charts/portal-sdk/templates/service.yaml2
-rw-r--r--kubernetes/portal/charts/portal-sdk/values.yaml4
3 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/portal/charts/portal-mariadb/values.yaml b/kubernetes/portal/charts/portal-mariadb/values.yaml
index fe41734ea7..cc662507b2 100644
--- a/kubernetes/portal/charts/portal-mariadb/values.yaml
+++ b/kubernetes/portal/charts/portal-mariadb/values.yaml
@@ -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 ?
diff --git a/kubernetes/portal/charts/portal-sdk/templates/service.yaml b/kubernetes/portal/charts/portal-sdk/templates/service.yaml
index 75d4a14dcf..7cd05606e8 100644
--- a/kubernetes/portal/charts/portal-sdk/templates/service.yaml
+++ b/kubernetes/portal/charts/portal-sdk/templates/service.yaml
@@ -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 }}
diff --git a/kubernetes/portal/charts/portal-sdk/values.yaml b/kubernetes/portal/charts/portal-sdk/values.yaml
index fb4d0765e1..b92685c12c 100644
--- a/kubernetes/portal/charts/portal-sdk/values.yaml
+++ b/kubernetes/portal/charts/portal-sdk/values.yaml
@@ -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: