apiVersion: v1
kind: Service
metadata:
  name: {{ template "schema-registry.fullname" . }}
  labels:
    app: {{ template "schema-registry.name" . }}
    chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
    release: {{ .Release.Name | quote }}
    heritage: {{ .Release.Service | quote }}
spec:
  ports:
    - name: schema-registry
      port: {{ .Values.servicePort }}
  selector:
    app: {{ template "schema-registry.name" . }}
    release: {{ .Release.Name | quote}}
