aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/pomba/charts/pomba-networkdiscovery/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/pomba/charts/pomba-networkdiscovery/templates/service.yaml')
-rw-r--r--kubernetes/pomba/charts/pomba-networkdiscovery/templates/service.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/kubernetes/pomba/charts/pomba-networkdiscovery/templates/service.yaml b/kubernetes/pomba/charts/pomba-networkdiscovery/templates/service.yaml
index 2b54defa4e..913a2d8eaf 100644
--- a/kubernetes/pomba/charts/pomba-networkdiscovery/templates/service.yaml
+++ b/kubernetes/pomba/charts/pomba-networkdiscovery/templates/service.yaml
@@ -27,8 +27,7 @@ spec:
ports:
{{if eq .Values.service.type "NodePort" -}}
- port: {{ .Values.service.externalPort }}
- #Example internal target port if required
- #targetPort: {{ .Values.service.internalPort }}
+ targetPort: {{ .Values.service.internalPort }}
nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
name: {{ .Values.service.portName | default "http" }}
{{- else -}}