Skip to content

Commit c21796c

Browse files
committed
Add possiblity to route requests to sidecar container
1 parent 23142af commit c21796c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helm/oauth2-proxy/templates/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:
3636
{{- end }}
3737
ports:
3838
- port: {{ .Values.service.portNumber }}
39-
targetPort: {{ .Values.httpScheme }}
39+
targetPort: {{ .Values.service.targetPort | default .Values.httpScheme }}
4040
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
4141
nodePort: {{ .Values.service.nodePort }}
4242
{{- end }}

0 commit comments

Comments
 (0)