aboutsummaryrefslogtreecommitdiffstats
path: root/charts/aai-gizmo/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'charts/aai-gizmo/templates/service.yaml')
-rw-r--r--charts/aai-gizmo/templates/service.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/charts/aai-gizmo/templates/service.yaml b/charts/aai-gizmo/templates/service.yaml
index ac34ed9..a584800 100644
--- a/charts/aai-gizmo/templates/service.yaml
+++ b/charts/aai-gizmo/templates/service.yaml
@@ -29,8 +29,9 @@ spec:
ports:
{{ if .Values.global.installSidecarSecurity }}
{{if eq .Values.service.type "NodePort" -}}
- - port: {{ .Values.global.rproxy.port }}
+ - port: {{ .Values.service.internalPort }}
nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
+ targetPort: {{ .Values.global.rproxy.port }}
name: {{ .Values.service.portName }}
{{- else -}}
- port: {{ .Values.service.externalPort }}