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 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
annotations: annotations:
@ -12,6 +13,10 @@ metadata:
name: webhook-flux-receiver name: webhook-flux-receiver
namespace: flux-system namespace: flux-system
spec: spec:
tls:
- hosts:
- flux.k8s.forgejo.org
secretName: tls-forgejo-flux-ingress-http
rules: rules:
- host: flux.k8s.forgejo.org - host: flux.k8s.forgejo.org
http: http:
@ -27,7 +32,7 @@ spec:
apiVersion: notification.toolkit.fluxcd.io/v1 apiVersion: notification.toolkit.fluxcd.io/v1
kind: Receiver kind: Receiver
metadata: metadata:
name: forgejo-receiver name: forgejo-flux-receiver
namespace: flux-system namespace: flux-system
spec: spec:
type: github type: github