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