Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Hotfix: updates of autodetected images in HelmReleases #2400

Merged
merged 1 commit into from
Aug 22, 2019

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Aug 22, 2019

Instead of returning the error when an image map for a container
name (= alias) could not be found, it should fall through and attempt
to just update the workload using the container name. If we do not
do this it blocks the updates of automatically detected images, as
reported in #2399.

@hiddeco hiddeco requested a review from squaremo August 22, 2019 14:39
@hiddeco hiddeco added this to the 1.14.1 milestone Aug 22, 2019
@hiddeco hiddeco force-pushed the hotfix/2399-auto-detected-images branch from 93ff03d to 83854c2 Compare August 22, 2019 14:41
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Instead of returning the error when an image map for a container
name (= alias) could not be found, it should fallthrough and attempt
to just update the workload using the container name. If we do not
do this it blocks the updates of automatically detected images, as
reported in #2399.
@hiddeco hiddeco force-pushed the hotfix/2399-auto-detected-images branch from 83854c2 to 4fd6f11 Compare August 22, 2019 15:13
Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should distinguish between "no annotation for the container" and "the annotation doesn't line up with the values". But: failing if there's no annotation is definitely wrong, so let's correct that then quibble about the rest :-)

@hiddeco hiddeco merged commit b73eb7e into master Aug 22, 2019
@hiddeco hiddeco deleted the hotfix/2399-auto-detected-images branch August 22, 2019 15:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants