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 | 78eff21978e9252c1128ff2f4820d43a08b2b0a7 (patch) | |
tree | 3c5ace0956640a449cbdbe1491b083bf6f5b48f5 /kubernetes/policy | |
parent | b8d9bacebcf47ca4a96d49cf21418067b8550870 (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/policy')
-rw-r--r-- | kubernetes/policy/templates/all-services.yaml | 12 | ||||
-rw-r--r-- | kubernetes/policy/values.yaml | 1 |
2 files changed, 7 insertions, 6 deletions
diff --git a/kubernetes/policy/templates/all-services.yaml b/kubernetes/policy/templates/all-services.yaml index 0dc17853ed..5ad5aa5d30 100644 --- a/kubernetes/policy/templates/all-services.yaml +++ b/kubernetes/policy/templates/all-services.yaml @@ -39,7 +39,7 @@ spec: ports: - name: "drools-port" port: 6969 - nodePort: 30217 + nodePort: {{ .Values.nodePortPrefix }}17 selector: app: drools type: NodePort @@ -55,10 +55,10 @@ spec: ports: - name: 8443-port port: 8443 - nodePort: 30219 + nodePort: {{ .Values.nodePortPrefix }}19 - name: 9091-port port: 9091 - nodePort: 30218 + nodePort: {{ .Values.nodePortPrefix }}18 selector: app: pap type: NodePort @@ -92,7 +92,7 @@ spec: ports: - name: 8081-port port: 8081 - nodePort: 30220 + nodePort: {{ .Values.nodePortPrefix }}20 selector: app: pdp type: NodePort @@ -108,7 +108,7 @@ spec: ports: - name: tcp-31032-8480-bm91k port: 8480 - nodePort: 30221 + nodePort: {{ .Values.nodePortPrefix }}21 selector: app: pypdp type: NodePort @@ -124,7 +124,7 @@ spec: ports: - name: 9989-port port: 9989 - nodePort: 30216 + nodePort: {{ .Values.nodePortPrefix }}16 selector: app: brmsgw type: NodePort diff --git a/kubernetes/policy/values.yaml b/kubernetes/policy/values.yaml index 0f990c94ff..25823b0969 100644 --- a/kubernetes/policy/values.yaml +++ b/kubernetes/policy/values.yaml @@ -1,5 +1,6 @@ nsPrefix: onap pullPolicy: Always +nodePortPrefix: 302 image: readiness: oomk8s/readiness-check:1.0.0 policyPe: nexus3.onap.org:10001/openecomp/policy/policy-pe:1.0-STAGING-latest |