summaryrefslogtreecommitdiffstats
path: root/kubernetes/appc
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/appc
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/appc')
-rw-r--r--kubernetes/appc/templates/all-services.yaml6
-rw-r--r--kubernetes/appc/values.yaml1
2 files changed, 4 insertions, 3 deletions
diff --git a/kubernetes/appc/templates/all-services.yaml b/kubernetes/appc/templates/all-services.yaml
index 95472319ed..5c42d72a01 100644
--- a/kubernetes/appc/templates/all-services.yaml
+++ b/kubernetes/appc/templates/all-services.yaml
@@ -53,10 +53,10 @@ spec:
- name: "appc-port-8282"
port: 8282
targetPort: 8181
- nodePort: 30230
+ nodePort: {{ .Values.nodePortPrefix }}30
- name: "appc-port-1830"
port: 1830
- nodePort: 30231
+ nodePort: {{ .Values.nodePortPrefix }}31
type: NodePort
selector:
app: appc
@@ -73,7 +73,7 @@ spec:
- name: "appc-dgbuilder-port"
port: 3000
targetPort: 3100
- nodePort: 30228
+ nodePort: {{ .Values.nodePortPrefix }}28
type: NodePort
selector:
app: appc-dgbuilder
diff --git a/kubernetes/appc/values.yaml b/kubernetes/appc/values.yaml
index 74b189f371..7916b734aa 100644
--- a/kubernetes/appc/values.yaml
+++ b/kubernetes/appc/values.yaml
@@ -1,5 +1,6 @@
nsPrefix: onap
pullPolicy: Always
+nodePortPrefix: 302
image:
readiness: oomk8s/readiness-check:1.0.0
appc: nexus3.onap.org:10001/openecomp/appc-image:1.1-STAGING-latest