Skip to content

Commit

Permalink
Fix service target port
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Jul 18, 2024
1 parent bcf5c37 commit 7602fbb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/dbgate/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: {{- if .Values.authzproxy.enabled }}"proxy"{{ else }}"http"{{ end }}
targetPort: {{ ternary "proxy" "http" .Values.authzproxy.enabled }}
protocol: TCP
name: http
selector:
Expand Down
2 changes: 1 addition & 1 deletion charts/mongo-ui/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
targetPort: {{ ternary "proxy" "http" .Values.authzproxy.enabled }}
protocol: TCP
name: http
selector:
Expand Down
2 changes: 1 addition & 1 deletion charts/pgadmin/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
targetPort: {{ ternary "proxy" "http" .Values.authzproxy.enabled }}
protocol: TCP
name: http
selector:
Expand Down
2 changes: 1 addition & 1 deletion charts/phpmyadmin/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
targetPort: {{ ternary "proxy" "http" .Values.authzproxy.enabled }}
protocol: TCP
name: http
selector:
Expand Down

0 comments on commit 7602fbb

Please sign in to comment.