# cert_manager_service.yaml
apiVersion: v1
kind: Service
metadata:
  name: {{ include "example-webhook.fullname" . }}
  labels:
    app: {{ include "example-webhook.name" . }}
    chart: {{ include "example-webhook.chart" . }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.port }}
      targetPort: https
      protocol: TCP
      name: https
  selector:
    app: {{ include "example-webhook.name" . }}
    release: {{ .Release.Name }}