flux-system: fix receiver

This commit is contained in:
Earl Warren 2024-10-23 10:23:13 +02:00
parent 47084ccb5b
commit b423acbe20
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

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