Files
cb43adce67 feat: Add custom resource health for flux resources (#19082)
* 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]>
2024-07-17 20:16:57 +03:00

39 lines
1.5 KiB
YAML

apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
name: podinfo
namespace: default
spec:
interval: 5m0s
url: oci://ghcr.io/stefanprodan/manifests/podinfo
ref:
tag: latest
status:
conditions:
- lastTransitionTime: "2024-07-16T12:00:00Z"
message: 'processing object: new generation 1 -> 2'
observedGeneration: 2
reason: Progressing
status: "True"
type: Reconciling
- lastTransitionTime: "2024-07-16T12:00:00Z"
message: 'failed to determine artifact digest: GET https://ghcr.io/token?scope=repository%!!(MISSING)A(MISSING)stefanprodan%!!(MISSING)F(MISSING)manifests%!!(MISSING)F(MISSING)podinfo-faulty%!!(MISSING)A(MISSING)pull&service=ghcr.io:
DENIED: requested access to the resource is denied'
observedGeneration: 2
reason: OCIArtifactPullFailed
status: "False"
type: Ready
- lastTransitionTime: "2024-07-16T12:00:00Z"
message: 'failed to determine artifact digest: GET https://ghcr.io/token?scope=repository%!A(MISSING)stefanprodan%!F(MISSING)manifests%!F(MISSING)podinfo-faulty%!A(MISSING)pull&service=ghcr.io:
DENIED: requested access to the resource is denied'
observedGeneration: 2
reason: OCIArtifactPullFailed
status: "True"
type: FetchFailed
- lastTransitionTime: "2024-07-16T12:00:00Z"
message: stored artifact for digest 'latest@sha256:f74fa29c9ebfc7f55b0d829166812ce03c9e3951ab16954863cef1d12837c7a5'
observedGeneration: 1
reason: Succeeded
status: "True"
type: ArtifactInStorage