apiVersion: v1
kind: Service
metadata:
  name: cnpg-webhook-service
  namespace: cloudnative-pg
  labels:
    helm.sh/chart: cloudnative-pg-0.28.2
    app.kubernetes.io/name: cloudnative-pg
    app.kubernetes.io/instance: cloudnative-pg
    app.kubernetes.io/version: "1.29.1"
    app.kubernetes.io/managed-by: Helm
spec:
  type: ClusterIP
  ports:
    - port: 443
      targetPort: webhook-server
      name: webhook-server
  selector:
    app.kubernetes.io/name: cloudnative-pg
    app.kubernetes.io/instance: cloudnative-pg
