Skip to content

Commit 827118e

Browse files
Merge pull request #7 from Intreecom/feature/targetport-capability
feature: capability to add targetport (optional)
2 parents ef7d437 + 089c279 commit 827118e

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)