argo-cd/resource_customizations/image.toolkit.fluxcd.io/ImageRepository/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

25 lines
772 B
YAML

apiVersion: image.toolkit.fluxcd.io/v1beta2
kind: ImageRepository
metadata:
name: podinfo
namespace: default
spec:
image: stefanprodan/podinfo-faulty
interval: 1h
provider: generic
status:
conditions:
- lastTransitionTime: "2024-07-16T12:00:00Z"
message: 'scanning: new image name'
observedGeneration: 2
reason: ProgressingWithRetry
status: "True"
type: Reconciling
- lastTransitionTime: "2024-07-16T12:00:00Z"
message: 'scan failed: GET https://index.docker.io/v2/stefanprodan/podinfo-faulty/tags/list?n=1000:
UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:stefanprodan/podinfo-faulty
Type:repository]]'
observedGeneration: 2
reason: ReadOperationFailed
status: "False"
type: Ready