summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/policy-distribution/templates/service.yaml
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-05-16 14:58:05 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-16 14:58:05 +0000
commit157966816809753684acf13542b690834039bd4d (patch)
treea472fe624a0b523670ac873360157e26747efe2c /kubernetes/policy/charts/policy-distribution/templates/service.yaml
parent8ae5acc7191b6394e208034dbf81ad6ca269030b (diff)
parent59ce22ddfd867629eed557a32e9e8b880a4725a9 (diff)
Merge "Disable external ports and update versions"
Diffstat (limited to 'kubernetes/policy/charts/policy-distribution/templates/service.yaml')
-rw-r--r--kubernetes/policy/charts/policy-distribution/templates/service.yaml5
1 files changed, 3 insertions, 2 deletions
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