apiVersion: v1
kind: Service
metadata:
  name: {{ include "consentos.fullname" . }}-admin-ui
  labels:
    {{- include "consentos.labels" . | nindent 4 }}
    app.kubernetes.io/component: admin-ui
spec:
  type: {{ .Values.adminUi.service.type }}
  ports:
    - port: {{ .Values.adminUi.service.port }}
      targetPort: http
      protocol: TCP
      name: http
  selector:
    {{- include "consentos.selectorLabels" (dict "Chart" .Chart "Release" .Release "component" "admin-ui") | nindent 4 }}
