Corrected Flux receiver

This commit is contained in:
Marcin-Ramotowski
2025-07-10 23:27:00 +02:00
parent 0659708eab
commit d520cea264

View File

@ -1,4 +1,4 @@
apiVersion: notification.toolkit.fluxcd.io/v1beta2
apiVersion: notification.toolkit.fluxcd.io/v1
kind: Receiver
metadata:
name: gitea-receiver
@ -7,8 +7,10 @@ spec:
type: git
events:
- push
resources:
- kind: GitRepository
name: user-microservice-repo
secretRef:
name: webhook-token
resources:
- apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
name: user-microservice-repo
namespace: flux-system