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