We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When an ImageRepository's .spec.image is changed to an invalid value then any refering ImagePolicy still reports success.
.spec.image
Steps to reproduce:
flux create image repository podinfo --image ghcr.io/stefanprodan/podinfo
k patch imagerepository -n flux-system podinfo -p '{"spec":{"image":"oci://stefanprodan/podinfo"}}' --type merge
flux create image policy --image-ref podinfo --select-semver=5.1.4 podinfo
After the last step the ImagePolicy's .status field looks like this:
.status
status: conditions: - lastTransitionTime: "2023-10-02T16:13:39Z" message: Latest image tag for 'oci://stefanprodan/podinfo' resolved to 5.1.4 observedGeneration: 1 reason: Succeeded status: "True" type: Ready latestImage: oci://stefanprodan/podinfo:5.1.4 observedGeneration: 1
However, the status should report a negative Ready condition until the ImageRepository is ready again.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When an ImageRepository's
.spec.image
is changed to an invalid value then any refering ImagePolicy still reports success.Steps to reproduce:
flux create image repository podinfo --image ghcr.io/stefanprodan/podinfo
k patch imagerepository -n flux-system podinfo -p '{"spec":{"image":"oci://stefanprodan/podinfo"}}' --type merge
flux create image policy --image-ref podinfo --select-semver=5.1.4 podinfo
After the last step the ImagePolicy's
.status
field looks like this:However, the status should report a negative Ready condition until the ImageRepository is ready again.
The text was updated successfully, but these errors were encountered: