Corrected Flux receiver
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user