apiVersion: v1
kind: Service
metadata:
  name: {{ template "drone.fullname" . }}-grpc
  labels:
    app: {{ template "drone.name" . }}
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
spec:
  type: ClusterIP
  ports:
    - name: grpc
      port: 9000
      targetPort: 9000
  selector:
    app: {{ template "drone.name" . }}
    release: {{ .Release.Name | quote }}
    component: server
