apiVersion: v1 kind: Service metadata: name: {{ include "go-places.fullname" . }} labels: {{- include "go-places.labels" . | nindent 4 }} spec: type: {{ .Values.service.type }} # Should be ClusterIP for internal communication ports: - port: {{ .Values.service.port }} # Port the Service exposes internally targetPort: http # TargetPort should match the containerPort in deployment.yaml protocol: TCP name: http selector: {{- include "go-places.selectorLabels" . | nindent 4 }}