diff --git a/charts/gateway/templates/deployment.yaml b/charts/gateway/templates/deployment.yaml index 809eafb..a3b6b33 100644 --- a/charts/gateway/templates/deployment.yaml +++ b/charts/gateway/templates/deployment.yaml @@ -65,7 +65,7 @@ spec: name: {{ .Values.gateway.secretRef }} {{- end }} ports: - {{- range untilStep (int .Values.gateway.portRange.start) (int (add .Values.gateway.portRange.count 1)) 1 }} + {{- range untilStep (int .Values.gateway.portRange.start) (int (add .Values.gateway.portRange.start .Values.gateway.portRange.count)) 1 }} - containerPort: {{ . }} protocol: TCP {{- end }}