diff --git a/charts/py-app/templates/service.yaml b/charts/py-app/templates/service.yaml index b3f583e..7d8d7b4 100644 --- a/charts/py-app/templates/service.yaml +++ b/charts/py-app/templates/service.yaml @@ -9,7 +9,7 @@ spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.port }} - targetPort: http + targetPort: {{ .Values.service.targetPort | default "http" }} protocol: TCP name: http {{- if eq .Values.service.type "NodePort" }}