apiVersion: v1
kind: Service
metadata:
  name: {{ .Values.name }}
  labels:
    app: {{ .Values.name }}
spec:
  ports:
    - name: schema-registry
      port: {{ .Values.servicePort }}
  selector:
    app: {{ .Values.name }}