summaryrefslogtreecommitdiffstats
path: root/kubernetes/pnda/charts/dcae-pnda-mirror/templates/service.yaml
diff options
context:
space:
mode:
authorJulien Barbot <julien@barbot.org>2018-11-13 19:08:56 +0100
committerJulien Barbot <julien@barbot.org>2018-11-23 16:54:08 +0100
commit00520bcdb6f1bced922ed97016f42d370d3d2722 (patch)
tree8f132c02c44de4ca903ec78fd8fecdc8dbe97421 /kubernetes/pnda/charts/dcae-pnda-mirror/templates/service.yaml
parenta7b2ee30e615a8567d953b644bc37ec07759fcdf (diff)
Make the PNDA mirror accessible via a NodePort
The allocated port is {{.nodePortPrefixExt}}00 (i.e.: 30400). Change-Id: If11ab3a799c7225bc1a7227c0866f2eb4173ea13 Issue-ID: DCAEGEN2-779 Signed-off-by: Julien Barbot <julien@barbot.org>
Diffstat (limited to 'kubernetes/pnda/charts/dcae-pnda-mirror/templates/service.yaml')
-rw-r--r--kubernetes/pnda/charts/dcae-pnda-mirror/templates/service.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/pnda/charts/dcae-pnda-mirror/templates/service.yaml b/kubernetes/pnda/charts/dcae-pnda-mirror/templates/service.yaml
index b233a17348..fd376d16bb 100644
--- a/kubernetes/pnda/charts/dcae-pnda-mirror/templates/service.yaml
+++ b/kubernetes/pnda/charts/dcae-pnda-mirror/templates/service.yaml
@@ -30,7 +30,7 @@ spec:
ports:
{{if eq .Values.service.type "NodePort" -}}
- port: {{ .Values.service.externalPort }}
- nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
+ nodePort: {{ .Values.global.nodePortPrefixExt | default .Values.nodePortPrefixExt }}{{ .Values.service.nodePort }}
name: {{ .Values.service.portName }}
{{- else -}}
- port: {{ .Values.service.externalPort }}