24 lines
538 B
YAML
24 lines
538 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"
|
|
spec:
|
|
ingressClassName: "hsn-nginx"
|
|
rules:
|
|
- host: &host "flux-receiver-valinor.hsn.dev"
|
|
http:
|
|
paths:
|
|
- path: /hook/
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: webhook-receiver
|
|
port:
|
|
number: 80
|
|
tls:
|
|
- hosts:
|
|
- *host
|