This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/kubernetes/apps/flux-system/add-ons/webhooks/github/ingress.yaml

24 lines
545 B
YAML

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