argo-cd/resource_customizations/notification.toolkit.fluxcd.io/Receiver/testdata/degraded.yaml
Adrian Berger 824d0dced7
feat: Add custom resource health for flux resources (#19082)
* feat: Add custom resource health for flux resources

Signed-off-by: Adrian Berger <adrian.berger@bedag.ch>

* chore: Update upgrade docs

Signed-off-by: Adrian Berger <adrian.berger@bedag.ch>

---------

Signed-off-by: Adrian Berger <adrian.berger@bedag.ch>
Signed-off-by: Dan Garfield <dan@codefresh.io>
Co-authored-by: Dan Garfield <dan@codefresh.io>
2024-07-17 20:16:57 +03:00

31 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