diff --git a/charts/py-app/templates/static-service.yaml b/charts/py-app/templates/static-service.yaml index 84d4729..b455fda 100644 --- a/charts/py-app/templates/static-service.yaml +++ b/charts/py-app/templates/static-service.yaml @@ -9,7 +9,7 @@ spec: type: ClusterIP ports: - port: {{ .Values.service.port }} - targetPort: {{ .Values.service.targetPort | default "static-service" }} + targetPort: {{ .Values.service.targetPort | default .Values.service.port }} protocol: TCP name: static-service selector: