diff options
author | 2019-05-01 14:18:49 -0500 | |
---|---|---|
committer | 2019-05-01 16:13:07 -0500 | |
commit | 47ce43884c98186b4e841e3ded9d50777e13ca64 (patch) | |
tree | 64c9aff5ea301cfad5061ed4a520489708f74d35 /charts/aaf-cm/templates/service.yaml | |
parent | 34822d43a5ea5047ec73cc9625757524c631724e (diff) |
Apply Cert changes
Issue-ID: AAF-822
Change-Id: I3185d827f3f67cb177534f7c7f3281375b77c613
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'charts/aaf-cm/templates/service.yaml')
-rw-r--r-- | charts/aaf-cm/templates/service.yaml | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/charts/aaf-cm/templates/service.yaml b/charts/aaf-cm/templates/service.yaml index 281aa1c..f54c4d8 100644 --- a/charts/aaf-cm/templates/service.yaml +++ b/charts/aaf-cm/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.cm.internal_port }} + nodePort: {{ .Values.global.aaf.cm.public_port }} + name: aaf-cm selector: app: {{ include "common.name" . }} release: {{ .Release.Name }} - type: {{ .Values.service.type }} + type: "NodePort" |