-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
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
fix: Invalid image reference format when using digest strategy with helm charts #317
Conversation
…arts Signed-off-by: Agorgianitis Loukas <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, @elartista - this is useful!
I only have one cosmetic concern, please see below.
Also, can you please provide unit tests for the method?
Added unit tests, I believe this is now ready! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks a lot @elartista !
Waiting for this fix to be released. Do we have an ETA for a release that will include this fix? Thanks. |
…elm charts (argoproj-labs#317) * fix: Invalid reference format when using digest strategy with helm charts Signed-off-by: Agorgianitis Loukas <[email protected]> * Rename image.GetFullTag() to image.GetTagWithDigest() for clarity * Add unit tests for image.GetTagWithDigest()
Fixes #259 #210
When using digest update strategy, the helm image.tag parameter now composes a full tag of both the tag and the digest in the form:
This avoids invalid references in almost all helm charts that construct the image ref as
image.repository:image.tag
, that so far resulted to the invalid references of the form: