Skip to content

Image updater removes tags when registry is empty.Β #1242

@kinikiti

Description

@kinikiti

Describe the bug
We are running EKS cluster with ECR pull-trough cache which caches images from Docker hub.
Image updater looks at the upstream and update tags in manifest, which later pulled by AWS to pull-trought cache.

Recently in the upstream registry all tags were removed. This caused that Image updater put image.tag: "" to manifests.
This is incorrect notation. It would be nice if Image Updater just log error and do not change tags to meaningless values if tags are not found.

To Reproduce
Setup Image update pointing to the registry.
Remove all tags from registry.

Expected behavior
Image updater do nothing.

Additional context
This was particularly caused by changes in Bitnami registries which were converted from SemVer notation to Digest and during conversion there were no tags for couple of days.

Version
Image Updater v0.16.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions