# helm_charts_hl-composer-rest-service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: {{ include "hl-composer.fullname" $ }}-rest
  labels:
{{ include "labels.standard" . | indent 4 }}
spec:
  type: {{ .Values.rest.service.type }}
  ports:
    - port: {{ .Values.rest.service.port }}
      targetPort: 3000
      protocol: TCP
      name: http
  selector:
    name: {{ include "hl-composer.fullname" . }}-rest
    app: {{ include "hl-composer.name" . }}
    release: {{ .Release.Name }}