Merge pull request 'flux-system: fix receiver' (#2) from earl-warren/k8s-cluster:wip-receiver into main

Reviewed-on: https://code.forgejo.org/infrastructure/k8s-cluster/pulls/2
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
This commit is contained in:
earl-warren 2024-10-23 08:32:01 +00:00
commit 49e1da2e62

View file

@ -1,3 +1,4 @@
# https://kubernetes.io/docs/concepts/services-networking/ingress
apiVersion: networking.k8s.io/v1
kind: Ingress
annotations:
@ -12,6 +13,10 @@ metadata:
name: webhook-flux-receiver
namespace: flux-system
spec:
tls:
- hosts:
- flux.k8s.forgejo.org
secretName: tls-forgejo-flux-ingress-http
rules:
- host: flux.k8s.forgejo.org
http:
@ -27,7 +32,7 @@ spec:
apiVersion: notification.toolkit.fluxcd.io/v1
kind: Receiver
metadata:
name: forgejo-receiver
name: forgejo-flux-receiver
namespace: flux-system
spec:
type: github