Skip to content

Commit 089c279

Browse files
feature: capability to add targetport (optional)
1 parent ef7d437 commit 089c279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/py-app/templates/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
type: {{ .Values.service.type }}
1010
ports:
1111
- port: {{ .Values.service.port }}
12-
targetPort: http
12+
targetPort: {{ .Values.service.targetPort | default "http" }}
1313
protocol: TCP
1414
name: http
1515
{{- if eq .Values.service.type "NodePort" }}

0 commit comments

Comments
 (0)