summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/policy-api
diff options
context:
space:
mode:
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