aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/policy-api
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2019-05-14 17:59:36 -0500
committerjhh <jorge.hernandez-herrero@att.com>2019-05-16 08:33:30 -0500
commit59ce22ddfd867629eed557a32e9e8b880a4725a9 (patch)
tree9c19cc1d1e96599f79e0cc34586358642da7a4e1 /kubernetes/policy/charts/policy-api
parentc26a0d4c85f60e185141dbb86bae631406d34036 (diff)
Disable external ports and update versions
Change-Id: I1d781ad6d0177d6a103986b10f39e36453516e9f Issue-ID: POLICY-1756 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'kubernetes/policy/charts/policy-api')
-rw-r--r--kubernetes/policy/charts/policy-api/templates/service.yaml2
-rw-r--r--kubernetes/policy/charts/policy-api/values.yaml5
2 files changed, 4 insertions, 3 deletions
diff --git a/kubernetes/policy/charts/policy-api/templates/service.yaml b/kubernetes/policy/charts/policy-api/templates/service.yaml
index 81789f26ca..e6ff6fb22e 100644
--- a/kubernetes/policy/charts/policy-api/templates/service.yaml
+++ b/kubernetes/policy/charts/policy-api/templates/service.yaml
@@ -34,7 +34,7 @@ spec:
nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
name: {{ .Values.service.portName }}
{{- else -}}
- - port: {{ .Values.service.internalPort }}
+ - port: {{ .Values.service.externalPort }}
targetPort: {{ .Values.service.internalPort }}
name: {{ .Values.service.portName }}
{{- end}}
diff --git a/kubernetes/policy/charts/policy-api/values.yaml b/kubernetes/policy/charts/policy-api/values.yaml
index acb9f6bb58..8660d3b336 100644
--- a/kubernetes/policy/charts/policy-api/values.yaml
+++ b/kubernetes/policy/charts/policy-api/values.yaml
@@ -28,7 +28,7 @@ global:
#################################################################
# application image
repository: nexus3.onap.org:10001
-image: onap/policy-api:2.0.0-SNAPSHOT-latest
+image: onap/policy-api:2.0.0
pullPolicy: Always
# flag to enable debugging - application support required
@@ -56,9 +56,10 @@ readiness:
periodSeconds: 10
service:
- type: NodePort
+ type: ClusterIP
name: policy-api
portName: policy-api
+ externalPort: 6969
internalPort: 6969
nodePort: 40