From b423acbe200013d6374961a2bb7c191d4dfcfb49 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 23 Oct 2024 10:23:13 +0200 Subject: [PATCH] flux-system: fix receiver --- flux/clusters/flux-system/receiver.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/flux/clusters/flux-system/receiver.yaml b/flux/clusters/flux-system/receiver.yaml index fae6a56..a2385e4 100644 --- a/flux/clusters/flux-system/receiver.yaml +++ b/flux/clusters/flux-system/receiver.yaml @@ -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