Skip to content

Commit

Permalink
Add possiblity to route requests to sidecar container
Browse files Browse the repository at this point in the history
  • Loading branch information
edorizzardi committed Dec 5, 2024
1 parent 23142af commit c21796c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm/oauth2-proxy/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
{{- end }}
ports:
- port: {{ .Values.service.portNumber }}
targetPort: {{ .Values.httpScheme }}
targetPort: {{ .Values.service.targetPort | default .Values.httpScheme }}
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
Expand Down

0 comments on commit c21796c

Please sign in to comment.