X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fpolicy%2Fcharts%2Fpolicy-pap%2Ftemplates%2Fservice.yaml;h=6df77816ac2a86ec651a70136c6787eaef62f2c1;hb=234e9e1ac46930b16cdc10fa07464031eec6e855;hp=f4a31149f92589d544f253d121556fa270809797;hpb=a3589e313c7205754aecdc8e8430cb5459f20ef1;p=oom.git 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