summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/policy-pap
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-pap
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-pap')
-rw-r--r--kubernetes/policy/charts/policy-pap/templates/service.yaml5
-rw-r--r--kubernetes/policy/charts/policy-pap/values.yaml4
2 files changed, 6 insertions, 3 deletions
diff --git a/kubernetes/policy/charts/policy-pap/templates/service.yaml b/kubernetes/policy/charts/policy-pap/templates/service.yaml
index f4a31149f9..6df77816ac 100644
--- a/kubernetes/policy/charts/policy-pap/templates/service.yaml
+++ b/kubernetes/policy/charts/policy-pap/templates/service.yaml
@@ -1,5 +1,6 @@
# ============LICENSE_START=======================================================
# Copyright (C) 2019 Nordix Foundation.
+# Modifications Copyright (C) 2019 AT&T Intellectual Property.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -28,9 +29,9 @@ metadata:
heritage: {{ .Release.Service }}
spec:
ports:
- - port: {{ .Values.service.internalPort }}
+ - port: {{ .Values.service.externalPort }}
+ targetPort: {{ .Values.service.internalPort }}
name: {{ .Values.service.portName }}
selector:
app: {{ include "common.name" . }}
release: {{ .Release.Name }}
- clusterIP: None
diff --git a/kubernetes/policy/charts/policy-pap/values.yaml b/kubernetes/policy/charts/policy-pap/values.yaml
index 4736d1a739..e240460162 100644
--- a/kubernetes/policy/charts/policy-pap/values.yaml
+++ b/kubernetes/policy/charts/policy-pap/values.yaml
@@ -1,5 +1,6 @@
# ============LICENSE_START=======================================================
# Copyright (C) 2019 Nordix Foundation.
+# Modifications Copyright (C) 2019 AT&T Intellectual Property.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -27,7 +28,7 @@ global:
#################################################################
# application image
repository: nexus3.onap.org:10001
-image: onap/policy-pap:2.0.0-SNAPSHOT-latest
+image: onap/policy-pap:2.0.0
pullPolicy: Always
# flag to enable debugging - application support required
@@ -59,6 +60,7 @@ service:
name: policy-pap
portName: policy-pap
internalPort: 6969
+ externalPort: 6969
ingress:
enabled: false