mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
26 lines
610 B
YAML
26 lines
610 B
YAML
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: webhook-receiver
|
|
namespace: flux-system
|
|
annotations:
|
|
external-dns.alpha.kubernetes.io/target: services.${SECRET_DOMAIN}.
|
|
hajimari.io/enable: "false"
|
|
spec:
|
|
ingressClassName: "nginx"
|
|
rules:
|
|
- host: "flux-webhook.${SECRET_CLUSTER_DOMAIN}"
|
|
http:
|
|
paths:
|
|
- path: /hook/
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: webhook-receiver
|
|
port:
|
|
number: 80
|
|
tls:
|
|
- hosts:
|
|
- "flux-webhook.${SECRET_CLUSTER_DOMAIN}"
|