Add flux webhook receiver

main
trivernis 1 year ago
parent c1fef69972
commit 177f4f7f39
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -2,6 +2,14 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: kube-system namespace: kube-system
metadata:
name: flux-webhook
resources:
- flux/webhook-route.yaml
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kube-system
metadata: metadata:
name: traefik name: traefik
resources: resources:

@ -0,0 +1,14 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: flux-webhook-route
namespace: flux-system
spec:
entryPoints:
- web
routes:
- match: Host(`fluxhook.trivernis.dev`)
kind: Rule
services:
- name: webhook-receiver
port: 80
Loading…
Cancel
Save