diff --git a/templates/service.yaml b/templates/service.yaml index 7b2aa84..84dbad8 100644 --- a/templates/service.yaml +++ b/templates/service.yaml @@ -8,8 +8,6 @@ spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.port }} - # ✅ CRITICAL: It must use the .Values.service.targetPort variable - # If this line is missing, K8s assumes targetPort == port targetPort: {{ .Values.service.targetPort | default 8000 }} protocol: TCP name: http