apiVersion: v1
kind: Service
metadata:
  name: {{ include "oramap.fullname" . }}
  labels:
    app: {{ include "oramap.name" . }}
    chart: {{ include "oramap.chart" . }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.port }}
      targetPort: {{ .Values.containerPort }}
      protocol: TCP
      name: http
  selector:
    app: {{ include "oramap.name" . }}
    release: {{ .Release.Name }}
