apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: webhook-receiver
  namespace: flux-system
spec:
  ingressClassName: ingress-external
  tls:
  - hosts:
    - flux-webhook.ctr.farm
  rules:
  - host: flux-webhook.ctr.farm
    http:
      paths:
      - pathType: Prefix
        path: /
        backend:
          service:
            name: webhook-receiver
            port:
              number: 80
