theshire/kubernetes/apps/flux-system/add-ons/webhooks/git/ingress.yaml
2024-01-14 10:46:17 -06:00

26 lines
596 B
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: webhook-receiver
namespace: flux-system
annotations:
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
external-dns.alpha.kubernetes.io/target: external.hsn.dev
spec:
ingressClassName: external-nginx
rules:
- host: &host "flux-receiver.hsn.dev"
http:
paths:
- path: /hook/
pathType: Prefix
backend:
service:
name: webhook-receiver
port:
number: 80
tls:
- hosts:
- *host