Skip to content
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

feat: Support manifestlist and multi-arch images #341

Merged
merged 4 commits into from
Jan 11, 2022

Conversation

jannfis
Copy link
Contributor

@jannfis jannfis commented Jan 11, 2022

This PR adds initial support for manifest lists and platform-specific images (multi-arch images support).

By default, Image Updater now will only consider updating to images for the same platform as it is executed on (assuming single-platform clusters). The platforms to consider can be overridden per image using the argocd-image-updater-argoproj.io/alias.platform annotation, which takes a comma-delimited list of platforms (e.g. linux/arm64 or linux/arm/v7).

Notes:

  • For latest and digest strategy, only images with matching platform will be considered for update

  • The semver and name strategies do not fetch meta data. These update strategies will not support multiple architectures. We may introduce complimentary strategies, which will support this (e.g. semver-multiarch and name-multiarch). However, the beauty of semver and name are, that they don't need to fetch metadata in order to work.

This PR does not contain documentation. Docs have yet to be written before 0.12.0 is being released.

Signed-off-by: jannfis jann@mistrust.net

Signed-off-by: jannfis <jann@mistrust.net>
Signed-off-by: jannfis <jann@mistrust.net>
Signed-off-by: jannfis <jann@mistrust.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant