apiVersion: v1 kind: Service metadata: name: {{ .Release.Name }}-backend spec: type: {{ .Values.backend.service.type }} ports: - port: {{ .Values.backend.service.port | int }} targetPort: {{ .Values.backend.service.targetPort | int }} selector: app: {{ .Release.Name }}-backend