summaryrefslogtreecommitdiff
path: root/pkg/image
AgeCommit message (Collapse)Author
2025-01-07Move references for kube, image, registry to registry-scanner (#998)Ishita Sequeira
Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
2024-12-16Update references of pkg/tag pkg/log pkg/options to use modules from ↵Ishita Sequeira
registry-scanner (#962) Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
2024-09-05fix: allow the specific image platform os/arch/variant to meet the ↵Cheng Fang
requirement for a broader image platform os/arch (#858) Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-08-07fix: Improper parsing of image identifiers having both tag name and digest ↵Cheng Fang
(#815) Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-08-07tests: Add unit tests to image-updater pkg/image (#810)Cheng Fang
Signed-off-by: Cheng Fang <cfang@redhat.com>
2023-09-28chore(deps): Bump semver package version from v1 to v3 (#625)Jinsu Park
Signed-off-by: Jinsu Park <dev.umijs@gmail.com>
2022-07-20feat: Rename confusing update strategies (#456)Jaideep Rao
* rename strategies * update docs
2022-01-29feat: Support app-wide update-strategy annotations (#338)Jan Pieper
* feat: support app-wide update-strategy annotations * refactor: rename constants for pull-secret annotations
2022-01-22chore: Log out warning about tagsortmode (#363)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2022-01-19refactor: Refactor logging to provide more context information (#357)jannfis
* refactor: Refactor logging to provide more context information Signed-off-by: jannfis <jann@mistrust.net> * More context Signed-off-by: jannfis <jann@mistrust.net> * Fix unit tests Signed-off-by: jannfis <jann@mistrust.net>
2022-01-12refactor: rename VersionSortMode to UpdateStrategy (#343)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2022-01-12fix: Fetch metadata for multi-arch images with latest strategy (#342)jannfis
* fix: Fetch metadata for multi-arch images with latest strategy Signed-off-by: jannfis <jann@mistrust.net> * Simplify Signed-off-by: jannfis <jann@mistrust.net>
2022-01-11feat: Support manifestlist and multi-arch images (#341)jannfis
* feat: Support manifestlist and multi-arch images Signed-off-by: jannfis <jann@mistrust.net> * Add unit test Signed-off-by: jannfis <jann@mistrust.net> * Fix linter issue Signed-off-by: jannfis <jann@mistrust.net>
2021-12-16fix: Invalid image reference format when using digest strategy with helm ↵Agorgianitis Loukas
charts (#317) * fix: Invalid reference format when using digest strategy with helm charts Signed-off-by: Agorgianitis Loukas <agorglouk@gmail.com> * Rename image.GetFullTag() to image.GetTagWithDigest() for clarity * Add unit tests for image.GetTagWithDigest()
2021-10-28fix: Use correct registry URL for parsing pull secrets (#285)jannfis
2021-10-20fix: use distribution to parse references (#275)noah
* fix: use distribution to parse references fixes #273 * fix: keep docker.io if it was specified * fix: remove library/ if it was added
2021-09-17feat: Support OCI repositories by using distribution/v3 (#249)Mercier Ludovic
* upgrade registry dependencies to distribution v3 Signed-off-by: ludovicMercier <ludovic.mercier.lm@gmail.com> * upgrade registry dependencies to distribution v3 Signed-off-by: ludovicMercier <ludovic.mercier.lm@gmail.com> * upgrade registry dependencies to distribution v3 Signed-off-by: ludovicMercier <ludovic.mercier.lm@gmail.com> * upgrade registry dependencies to distribution v3 Signed-off-by: ludovicMercier <ludovic.mercier.lm@gmail.com> * upgrade to distribution v3 an implement ocischema Signed-off-by: ludovicMercier <ludovic.mercier.lm@gmail.com> * upgrade to distribution v3 an implement ocischema Signed-off-by: ludovicMercier <ludovic.mercier.lm@gmail.com> * go mod tidy Signed-off-by: ludovicMercier <ludovic.mercier.lm@gmail.com> * lint Signed-off-by: ludovicMercier <ludovic.mercier.lm@gmail.com> * fix broken tests Signed-off-by: ludovicMercier <ludovic.mercier.lm@gmail.com> * Update to changes from master branch Signed-off-by: jannfis <jann@mistrust.net> Co-authored-by: jannfis <jann@mistrust.net>
2021-06-18fix: Don't return original tag if no tag was considered (#219)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2021-05-11feat: allow write-back to actual kustomization files (#200)noah
* feat: allow write-back to actual kustomization files #199 * fix: was not handling default path correctly default is the source path * fix: sort imports
2021-04-26fix: Add suffix check for docker registry (#195) (#197)MichaelKo
2021-04-26fix : Images not updated if registry or repository is different with same ↵noah
version (#194) * update image even if only difference is the registry * refactor: use annotation methods which are more consistent
2021-04-13feat: allow image updates to be forced if container not present #181 (#189)noah
* allow image updates to be forced if container not present #181 * explain new code, refactor image parsing and test
2021-04-01fix: Prevent nil pointer deref on emtpy tag with running image (#182)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2021-03-29feat: Introduce update strategy 'digest' (#176)jannfis
* feat: Introduce update strategy 'digest' Signed-off-by: jannfis <jann@mistrust.net> * Update tests Signed-off-by: jannfis <jann@mistrust.net> * Set dummy digest for update strategy 'digest' Signed-off-by: jannfis <jann@mistrust.net> * Update docs Signed-off-by: jannfis <jann@mistrust.net> * Update spelling Signed-off-by: jannfis <jann@mistrust.net>
2020-12-30refactor: Rename package client to kube (#135)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2020-12-05fix: Prevent nil pointer dereference in image creds (#126)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2020-11-23feat: Support for getting pull creds from external scripts (#121)jannfis
* feat: Support for getting pull creds from external scripts * spelling * be more verbose on error
2020-11-22feat: Get tag creation date also from v2 manifest schemas (#115)jannfis
* feat: Handle v2 manifest schemas correctly Signed-off-by: jannfis <jann@mistrust.net> * Satsify linter Signed-off-by: jannfis <jann@mistrust.net> * Fix go.mod Signed-off-by: jannfis <jann@mistrust.net> * Spelling Signed-off-by: jannfis <jann@mistrust.net> * Spelling Signed-off-by: jannfis <jann@mistrust.net> * Update golangci-lint action Signed-off-by: jannfis <jann@mistrust.net>
2020-09-27refactor: Introduce allow-tags and deprecate tag-match annotation (#103)jannfis
2020-09-27feat: Allow ignoring set of tags (#101)jannfis
* feat: Allow ignoring set of tags * Fix a typo in symbol name * Rename symbol * err must be nil; also print trace message * Update documentation * Update documentation * String is already trimmed
2020-09-26fix: Correctly parse & use pull secret entries without protocol (#99)jannfis
* fix: Correctly parse & use pull secret entries without protocol * Update spellchecker for noproto * Add new dockerconfigjson test file
2020-09-10fix: Correctly handle version constraints with equal sign (#84)jannfis
2020-08-25chore: Add some more unit tests around versions (#73)jannfis
* chore: Add some more unit tests around versions * Update speling
2020-08-25fix(regexp): only check semver & constraint if sorting by semver (#71)Michael Goodness
Signed-off-by: Michael Goodness <michael.goodness@mlb.com>
2020-08-24Secrets (#68)Michael Goodness
* fix(secrets): correct order of secret and namespace in errors Signed-off-by: Michael Goodness <michael.goodness@mlb.com> * chore(rbac): allow get/list/watch of secrets Signed-off-by: Michael Goodness <michael.goodness@mlb.com> * chore: rename rolebinding manifest Signed-off-by: Michael Goodness <michael.goodness@mlb.com>
2020-08-13feat: Enable unique pull secrets per image (#52)jannfis
* feat: Enable unique pull secrets per image * allow more spelling
2020-08-13feat: Allow pre-filtering tags for consideration using a matcher (#47)jannfis
* feat: Allow pre-filtering tags for consideration using a matcher * Fix typo
2020-08-11chore: Fix typos (#40)jannfis
2020-08-10refactor: Rename sort option to update-strategy (#28)jannfis
2020-08-10refactor: Change methods to get target parameter annotations (#27)jannfis
2020-08-10chore: Add some more test cases (#26)jannfis
2020-08-10feat: Allow setting tag sorting per image via annotation (#25)jannfis
* feat: Allow setting tag sort mode from annotation * Update CHANGELOG.md
2020-08-09enhancement: Allow sorting of tags by date, semver or name (#23)jannfis
2020-08-09refactor: Make version constraints parametrizable (#21)jannfis
2020-08-09enhancement: Store tag metadata and introduce metadata cache (#18)jannfis
2020-08-08enhancement: Allow storing metadata along with image tag information (#17)jannfis
* enhancement: Enable storing metadata along with image tags * Update CHANGELOG.md * Satisfy linter
2020-08-04Fix lint complaintsjannfis
2020-08-04Initial commitjannfis