summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/dmaap-dr-node/templates/service.yaml
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2019-05-13 16:36:36 +0000
committerefiacor <fiachra.corcoran@est.tech>2019-05-13 16:36:36 +0000
commit178888312c51f0afdaa575650d3beede696637b5 (patch)
tree6c8271dad688593d65fc4d330896b9927a334be2 /kubernetes/dmaap/components/dmaap-dr-node/templates/service.yaml
parent4f897651438c1f8a199f471dd16b150585353116 (diff)
Adding NodePorts to dmaap-dr-node
Change-Id: I2e2fbfc2ed09ec8af22fb42c7f9f8d718aa4306b Issue-ID: DMAAP-1183 Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Diffstat (limited to 'kubernetes/dmaap/components/dmaap-dr-node/templates/service.yaml')
-rw-r--r--kubernetes/dmaap/components/dmaap-dr-node/templates/service.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/dmaap/components/dmaap-dr-node/templates/service.yaml b/kubernetes/dmaap/components/dmaap-dr-node/templates/service.yaml
index b7207017da..c935ce4ca6 100644
--- a/kubernetes/dmaap/components/dmaap-dr-node/templates/service.yaml
+++ b/kubernetes/dmaap/components/dmaap-dr-node/templates/service.yaml
@@ -30,11 +30,11 @@ spec:
{{if eq .Values.config.dmaapDrNode.servicetype "NodePort" -}}
- port: {{.Values.config.dmaapDrNode.externalPort}}
targetPort: {{.Values.config.dmaapDrNode.internalPort}}
- nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{.Values.config.dmaapDrNode.nodePort}}
+ nodePort: {{ .Values.global.nodePortPrefixExt | default .Values.nodePortPrefixExt }}{{.Values.config.dmaapDrNode.nodePort}}
name: {{.Values.config.dmaapDrNode.name}}
- port: {{.Values.config.dmaapDrNode.externalPort2}}
targetPort: {{.Values.config.dmaapDrNode.internalPort2}}
- nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{.Values.config.dmaapDrNode.nodePort2}}
+ nodePort: {{ .Values.global.nodePortPrefixExt | default .Values.nodePortPrefixExt }}{{.Values.config.dmaapDrNode.nodePort2}}
name: {{.Values.config.dmaapDrNode.name}}2
{{- else -}}
- port: {{.Values.config.dmaapDrNode.externalPort}}