This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
Support image formats with separate registry entry #2149
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
squaremo
reviewed
Jun 13, 2019
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.
Code looks OK to me -- will need the update to kubeyaml, so it can be bumped here.
@@ -119,6 +119,16 @@ func interpretAsContainer(m mapper) (image.Ref, ImageSetter, bool) { | |||
// ``` | |||
imageRef, err := image.ParseRef(img) | |||
if err == nil { | |||
var reggy bool |
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.
😀
hiddeco
force-pushed
the
enhancement/additional-image-values-struct-hr
branch
5 times, most recently
from
July 1, 2019 14:59
541730c
to
a8127b5
Compare
squaremo
approved these changes
Jul 1, 2019
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.
All present and correct, so far as I can tell.
There's no example of
image:
registry: registry.com
repository: org/app:tag
given in the docs, though it is supported; but I am fine with that, because it's a daft format :-)
To support the detection of image formats with a separate entry for the registry domain, like the stable/redis chart has: image: registry: docker.io repository: foo/bar tag: v1 _or_ container: registry: docker.io image: foo/bar tag: v1 _also valid_ container: registry: docker.io image: foo/bar:v1
Version 0.6.* of kubeyaml adds support for registry entries in HelmReleases.
hiddeco
force-pushed
the
enhancement/additional-image-values-struct-hr
branch
from
July 2, 2019 09:29
a8127b5
to
69c6fd4
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To support the detection of image formats with a separate entry
for the registry domain, like the
stable/redis
chart has:Fixes #2144