apiVersion: v1
kind: Service
metadata:
    labels:
        app: webhook
        app.kubernetes.io/component: webhook
        app.kubernetes.io/instance: cert-manager
        app.kubernetes.io/managed-by: Helm
        app.kubernetes.io/name: webhook
        helm.sh/chart: cert-manager-v1.4.0
    name: cert-manager-webhook
    namespace: cert-manager
spec:
    ports:
        - name: https
          port: 443
          targetPort: 10250
    selector:
        app.kubernetes.io/component: webhook
        app.kubernetes.io/instance: cert-manager
        app.kubernetes.io/name: webhook
    type: ClusterIP