diff options
author | kerenj <keren.joseph@amdocs.com> | 2017-08-29 09:56:36 +0000 |
---|---|---|
committer | kerenj <keren.joseph@amdocs.com> | 2017-08-31 13:44:29 +0000 |
commit | a85a58aa336f713e72858e868c1cbacab51afb3d (patch) | |
tree | bf19a1370e157fdf39113e75e1541cac3c909976 | |
parent | a71542fe94a0800b0a3a2e3fe212637f499a57f5 (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>
-rw-r--r-- | templates/all-services.yaml | 8 | ||||
-rw-r--r-- | values.yaml | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/templates/all-services.yaml b/templates/all-services.yaml index 2c0fbc4..22d94eb 100644 --- a/templates/all-services.yaml +++ b/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/values.yaml b/values.yaml index 3c6894c..d501d11 100644 --- a/values.yaml +++ b/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 |