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