aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf/charts/aaf-service/templates/service.yaml
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-05-01 14:18:49 -0500
committerInstrumental <jonathan.gathman@att.com>2019-05-01 16:13:07 -0500
commitcc3a0bd12c4df94271289367b03a6ca61fb610e7 (patch)
tree8694903db2d7d32278bc07b25f93ae277a6df140 /kubernetes/aaf/charts/aaf-service/templates/service.yaml
parent499e74814a1129ddebb2c0eae733124bf3df453c (diff)
Apply Cert changes
Issue-ID: AAF-822 Change-Id: I3185d827f3f67cb177534f7c7f3281375b77c613 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'kubernetes/aaf/charts/aaf-service/templates/service.yaml')
-rw-r--r--kubernetes/aaf/charts/aaf-service/templates/service.yaml16
1 files changed, 4 insertions, 12 deletions
diff --git a/kubernetes/aaf/charts/aaf-service/templates/service.yaml b/kubernetes/aaf/charts/aaf-service/templates/service.yaml
index 281aa1cc8d..4a318ffce3 100644
--- a/kubernetes/aaf/charts/aaf-service/templates/service.yaml
+++ b/kubernetes/aaf/charts/aaf-service/templates/service.yaml
@@ -24,18 +24,10 @@ metadata:
heritage: {{ .Release.Service }}
spec:
ports:
- {{if eq .Values.service.type "NodePort" -}}
- - port: {{ .Values.service.externalPort }}
- #Example internal target port if required
- #targetPort: {{ .Values.service.internalPort }}
- nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
- name: {{ .Values.service.portName }}
- {{- else -}}
- - port: {{ .Values.service.externalPort }}
- targetPort: {{ .Values.service.internalPort }}
- name: {{ .Values.service.portName }}
- {{- end}}
+ - port: {{ .Values.global.aaf.service.internal_port }}
+ nodePort: {{ .Values.global.aaf.service.public_port }}
+ name: aaf-service
selector:
app: {{ include "common.name" . }}
release: {{ .Release.Name }}
- type: {{ .Values.service.type }}
+ type: "NodePort"