From 59ce22ddfd867629eed557a32e9e8b880a4725a9 Mon Sep 17 00:00:00 2001 From: jhh Date: Tue, 14 May 2019 17:59:36 -0500 Subject: Disable external ports and update versions Change-Id: I1d781ad6d0177d6a103986b10f39e36453516e9f Issue-ID: POLICY-1756 Signed-off-by: jhh --- kubernetes/policy/charts/policy-distribution/templates/service.yaml | 5 +++-- kubernetes/policy/charts/policy-distribution/values.yaml | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'kubernetes/policy/charts/policy-distribution') diff --git a/kubernetes/policy/charts/policy-distribution/templates/service.yaml b/kubernetes/policy/charts/policy-distribution/templates/service.yaml index be6b567b7d..5108c55521 100644 --- a/kubernetes/policy/charts/policy-distribution/templates/service.yaml +++ b/kubernetes/policy/charts/policy-distribution/templates/service.yaml @@ -1,5 +1,6 @@ # ============LICENSE_START======================================================= # Copyright (C) 2018 Ericsson. All rights reserved. +# 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-distribution/values.yaml b/kubernetes/policy/charts/policy-distribution/values.yaml index 65f02cba46..935e7e69f1 100644 --- a/kubernetes/policy/charts/policy-distribution/values.yaml +++ b/kubernetes/policy/charts/policy-distribution/values.yaml @@ -1,5 +1,6 @@ # ============LICENSE_START======================================================= # Copyright (C) 2018 Ericsson. All rights reserved. +# 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-distribution:2.1.0-SNAPSHOT-latest +image: onap/policy-distribution:2.1.0 pullPolicy: Always # flag to enable debugging - application support required @@ -58,6 +59,7 @@ service: type: ClusterIP name: policy-distribution portName: policy-distribution + externalPort: 6969 internalPort: 6969 ingress: -- cgit 1.2.3-korg