This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
Misleading error message when trying to deploy an app with an unsigned image in a project that has ImageAllowRules. #1409
Comments
This was referenced Mar 30, 2023
That error message actually says, that there is not signature artifact at all for the target image:
Since there's no signature artifact, there's nothing to unpack and check for annotations, so it doesn't even get to check the annotations. |
@sangee2004 is this still valid after the recent large changes to IARs? |
Blocked on - #1970 |
7 tasks
iwilltry42
added a commit
that referenced
this issue
Jul 28, 2023
…oupgrade patterns (#1698 + #1970 + #1409) (#1984) * fix: properly handle image-not-allowed errors for normal tags and autoupgrade patterns Signed-off-by: Thorsten Klein <tk@thklein.io> * change: more precise error message if image fails verification due to missing signature Signed-off-by: Thorsten Klein <tk@thklein.io> --------- Signed-off-by: Thorsten Klein <tk@thklein.io>
Tested with acorn version Error message presented to user when trying to deploy an app that he chooses not to allow is as expected.
|
cloudnautique
pushed a commit
to cloudnautique/runtime
that referenced
this issue
Sep 28, 2023
…oupgrade patterns (acorn-io#1698 + acorn-io#1970 + acorn-io#1409) (acorn-io#1984) * fix: properly handle image-not-allowed errors for normal tags and autoupgrade patterns Signed-off-by: Thorsten Klein <tk@thklein.io> * change: more precise error message if image fails verification due to missing signature Signed-off-by: Thorsten Klein <tk@thklein.io> --------- Signed-off-by: Thorsten Klein <tk@thklein.io>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
acorn version v0.6.0-93-gd9de8c30+d9de8c30
Steps to reproduce the problem:
Create ImageAllowRules:
Deploy an app with image that is not signed.
We are not allowed to deploy app as expected with following error message:
Error message repeats the errors about signature twice , there is no information about missing tag "ok" and having the expected signature artifact info is confusing.
The text was updated successfully, but these errors were encountered: