mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
* feat: Add custom resource health for flux resources Signed-off-by: Adrian Berger <[email protected]> * chore: Update upgrade docs Signed-off-by: Adrian Berger <[email protected]> --------- Signed-off-by: Adrian Berger <[email protected]> Signed-off-by: Dan Garfield <[email protected]> Co-authored-by: Dan Garfield <[email protected]>
32 lines
821 B
YAML
32 lines
821 B
YAML
apiVersion: notification.toolkit.fluxcd.io/v1
|
|
kind: Receiver
|
|
metadata:
|
|
name: github-receiver
|
|
namespace: flux-system
|
|
spec:
|
|
type: github
|
|
events:
|
|
- "ping"
|
|
- "push"
|
|
secretRef:
|
|
name: receiver-token
|
|
resources:
|
|
- apiVersion: source.toolkit.fluxcd.io/v1
|
|
kind: GitRepository
|
|
name: flux-system
|
|
status:
|
|
conditions:
|
|
- lastTransitionTime: "2024-07-16T12:00:00Z"
|
|
message: Reconciliation in progress
|
|
observedGeneration: 1
|
|
reason: ProgressingWithRetry
|
|
status: "True"
|
|
type: Reconciling
|
|
- lastTransitionTime: "2024-07-16T12:00:00Z"
|
|
message: 'unable to read token from secret ''flux-system/receiver-token'' error:
|
|
secrets "receiver-token" not found'
|
|
observedGeneration: 1
|
|
reason: TokenNotFound
|
|
status: "False"
|
|
type: Ready
|