apiVersion: v1 kind: Service metadata: name: {{ include "transfersh.fullname" . }} labels: app.kubernetes.io/name: {{ include "transfersh.name" . }} helm.sh/chart: {{ include "transfersh.chart" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} protocol: TCP name: {{ .Values.service.name }} selector: app.kubernetes.io/name: {{ include "transfersh.name" . }} app.kubernetes.io/instance: {{ .Release.Name }}