apiVersion: v1 kind: Service metadata: name: {{ include ".fullname" . }} labels: {{- include ".labels" . | nindent 4 }} spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.port }} targetPort: {{ .Values.app.port }} protocol: TCP name: http selector: {{- include ".selectorLabels" . | nindent 4 }}