aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai
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/aai
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/aai')
-rw-r--r--kubernetes/aai/templates/all-services.yaml8
-rw-r--r--kubernetes/aai/values.yaml1
2 files changed, 5 insertions, 4 deletions
diff --git a/kubernetes/aai/templates/all-services.yaml b/kubernetes/aai/templates/all-services.yaml
index 2c0fbc4a5b..22d94eb707 100644
--- a/kubernetes/aai/templates/all-services.yaml
+++ b/kubernetes/aai/templates/all-services.yaml
@@ -25,11 +25,11 @@ spec:
- name: "aai-service-port-8443"
port: 8443
targetPort: 8443
- nodePort: 30233
+ nodePort: {{ .Values.nodePortPrefix }}33
- name: "aai-service-port-8080"
port: 8080
targetPort: 8080
- nodePort: 30232
+ nodePort: {{ .Values.nodePortPrefix }}32
type: NodePort
selector:
app: aai-service
@@ -45,10 +45,10 @@ spec:
ports:
- name: "model-loader-service-port-8443"
port: 8443
- nodePort: 30229
+ nodePort: {{ .Values.nodePortPrefix }}29
- name: "model-loader-service-port-8080"
port: 8080
- nodePort: 30210
+ nodePort: {{ .Values.nodePortPrefix }}10
type: NodePort
selector:
app: model-loader-service
diff --git a/kubernetes/aai/values.yaml b/kubernetes/aai/values.yaml
index 3c6894c638..d501d11607 100644
--- a/kubernetes/aai/values.yaml
+++ b/kubernetes/aai/values.yaml
@@ -1,5 +1,6 @@
nsPrefix: onap
pullPolicy: Always
+nodePortPrefix: 302
image:
readiness: oomk8s/readiness-check:1.0.0
ajscAai: nexus3.onap.org:10001/openecomp/ajsc-aai:1.0-STAGING-latest