summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal
diff options
context:
space:
mode:
authorkerenj <keren.joseph@amdocs.com>2017-08-29 09:56:36 +0000
committerkerenj <keren.joseph@amdocs.com>2017-08-31 13:44:29 +0000
commit78eff21978e9252c1128ff2f4820d43a08b2b0a7 (patch)
tree3c5ace0956640a449cbdbe1491b083bf6f5b48f5 /kubernetes/portal
parentb8d9bacebcf47ca4a96d49cf21418067b8550870 (diff)
NodePort Helm Parametrization
parameterization of node ports, and create/delete update to fix multi ONAP instances creation(in diff NS). Issue-ID: OOM-52 Change-Id: Iaa3f5bc43f70b95cdc349389e25ef8b804a7a329 Signed-off-by: kerenj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes/portal')
-rw-r--r--kubernetes/portal/templates/all-services.yaml10
-rw-r--r--kubernetes/portal/values.yaml1
2 files changed, 6 insertions, 5 deletions
diff --git a/kubernetes/portal/templates/all-services.yaml b/kubernetes/portal/templates/all-services.yaml
index 2107e2a30b..b3fabb2932 100644
--- a/kubernetes/portal/templates/all-services.yaml
+++ b/kubernetes/portal/templates/all-services.yaml
@@ -23,15 +23,15 @@ metadata:
spec:
ports:
- name: portal-1
- nodePort: 30213
+ nodePort: {{ .Values.nodePortPrefix }}13
port: 8006
targetPort: 8005
- name: portal-2
- nodePort: 30214
+ nodePort: {{ .Values.nodePortPrefix }}14
port: 8010
targetPort: 8009
- name: portal-3
- nodePort: 30215
+ nodePort: {{ .Values.nodePortPrefix }}15
port: 8989
targetPort: 8080
selector:
@@ -50,11 +50,11 @@ spec:
- name: tcp-1
port: 6080
targetPort: 80
- nodePort: 30211
+ nodePort: {{ .Values.nodePortPrefix }}11
- name: tcp-2
port: 5900
targetPort: 5900
- nodePort: 30212
+ nodePort: {{ .Values.nodePortPrefix }}12
selector:
app: vnc-portal
type: NodePort
diff --git a/kubernetes/portal/values.yaml b/kubernetes/portal/values.yaml
index ae9479e03a..f4d1919904 100644
--- a/kubernetes/portal/values.yaml
+++ b/kubernetes/portal/values.yaml
@@ -1,5 +1,6 @@
nsPrefix: onap
pullPolicy: Always
+nodePortPrefix: 302
image:
readiness: oomk8s/readiness-check:1.0.0
portalapps: nexus3.onap.org:10001/openecomp/portalapps:1.1-STAGING-latest