summaryrefslogtreecommitdiff
path: root/pkg/registry
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-19Update references of cache, env, health to use modules from registry-scanner ↵Ishita Sequeira
(#972) 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-13tests: Improve unit tests for pkg/registry/client.go (#865)Cheng Fang
Signed-off-by: Cheng Fang <cfang@redhat.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-07-12chore(lint): Enable spelling linter (#773)Jann Fischer
Signed-off-by: Jann Fischer <jann@mistrust.net>
2024-07-11chore(tests): Add unit tests to image-updater pkg/health, pkg/version and ↵Mangaal
pkg/registry (#771) Signed-off-by: Mangaal <angommeeteimangaal@gmail.com>
2024-07-02fix: add check for the optional ref.Platform field to avoid nil pointer in ↵Cheng Fang
TagInfoFromReferences (#759) Signed-off-by: Cheng Fang <cfang@redhat.com>
2023-09-21fix: Add support for ocischema.DeserializedImageIndex manifest type (#618)Jesse Bye
* fix: Add support for ocischema.DeserializedImageIndex manifest type Signed-off-by: Jesse Bye <8467862+jessebye@users.noreply.github.com> * more informative error logging Signed-off-by: Jesse Bye <8467862+jessebye@users.noreply.github.com> --------- Signed-off-by: Jesse Bye <8467862+jessebye@users.noreply.github.com>
2023-08-10chore(deps): upgrade dependencies for fix vulnerabilities (#599)MichaelKo
Signed-off-by: Viacheslav Sychov <viacheslav.sychov@gmail.com>
2023-07-08chore: Preallocate space for slices with known size (#575)satoru
Signed-off-by: satoru <satorulogic@gmail.com>
2023-01-21fix: Also request OCI media type image index (#524)jannfis
Signed-off-by: jannfis <jann@mistrust.net> Signed-off-by: jannfis <jann@mistrust.net>
2022-11-15fix: update application config sample & replace the deprecated ioutil pkg (#492)YTCai
* docs: update application config sample Signed-off-by: CaiYueTing <qazxcv367tasi@gmail.com> * fix: use os read/write instead of deprecated ioutil read/write package Signed-off-by: CaiYueTing <qazxcv367tasi@gmail.com> * fix: use io, os pkg instead of all of the ioutil pkg Signed-off-by: CaiYueTing <qazxcv367tasi@gmail.com> Signed-off-by: CaiYueTing <qazxcv367tasi@gmail.com>
2022-07-20feat: Rename confusing update strategies (#456)Jaideep Rao
* rename strategies * update docs
2022-03-13docs: Refactor docs (#398)jannfis
* docs: Refactor docs Signed-off-by: jannfis <jann@mistrust.net> * Fix spelling Signed-off-by: jannfis <jann@mistrust.net> * Fix spelling Signed-off-by: jannfis <jann@mistrust.net> * Sort expect Signed-off-by: jannfis <jann@mistrust.net>
2022-01-27feat: Automatic inferring of registry from image prefix (#369)jannfis
* feat: Infer registry from prefix Signed-off-by: jannfis <jann@mistrust.net> * Add missing registry testdata Signed-off-by: jannfis <jann@mistrust.net> * Correctly handle default registries Signed-off-by: jannfis <jann@mistrust.net>
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-14fix: Use endpoint's transport also for token handler (#349)jannfis
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>
2022-01-09feat: use HTTP_PROXY in transport object for registry endpoint if defined in ↵Daniel Klockenkämper
environment (#300)
2022-01-09fix: Do not retrieve metadata for all tags with digest strategy (#337)jannfis
* fix: Only fetch metadata for constraint tag in digest strategx Signed-off-by: jannfis <jann@mistrust.net> * fix: Only fetch metadata for constraint tag in digest strategx Signed-off-by: jannfis <jann@mistrust.net> * fix: Only fetch metadata for constraint tag in digest strategx Signed-off-by: jannfis <jann@mistrust.net>
2022-01-07fix: Request correct mediatype for v1 manifests (#333)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2022-01-05fix: Fix registry authentication when URL has slash suffix (#331)jannfis
* fix: Fix registry authentication when URL has slash suffix Signed-off-by: jannfis <jann@mistrust.net> * Fix format string Signed-off-by: jannfis <jann@mistrust.net>
2021-11-05fix: typo in warning message (#291)Jan Pieper
Signed-off-by: Jan Pieper <kontakt@jan-pieper.info>
2021-10-25fix: add basic authentication handler (#281)noah
fixes #276
2021-10-19fix: Correct client ping endpoint (#278)Ole Mathias Aa. Heggem
2021-10-08fix: Allow insecure registry access (#272)jannfis
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-15fix: Fix a possible race condition in metadata retrieval (#215)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-04feat: Support for expiring credentials (#124)jannfis
* feat: Support for expiring credentials Signed-off-by: jannfis <jann@mistrust.net> * Update spelling Signed-off-by: jannfis <jann@mistrust.net>
2020-12-04feat: Export Prometheus compatible metrics (#123)jannfis
* feat: Export Prometheus compatible metrics Signed-off-by: jannfis <jann@mistrust.net> * adapt spelling action configuration Signed-off-by: jannfis <jann@mistrust.net> * adapt spelling action configuration Signed-off-by: jannfis <jann@mistrust.net>
2020-11-23refactor: Better integration of rate limiter (#120)jannfis
* refactor: Better integration of rate limiter * Run go mod tidy * spelling * Trace log URLs
2020-11-23fix: Provide sane rate limiter defaults (#119)jannfis
* fix: Adapt rate limiter defaults * Set default to reasonable value * Prevent rate limit <0
2020-11-22feat: Implement rate limiter and metadata parallelism (#118)jannfis
* feat: Implement rate limiter and metadata parallelism Signed-off-by: jannfis <jann@mistrust.net> * spelling
2020-11-22fix: Correctly apply ignore list when matchfunc is not set (#116)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
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-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-25feat: Support for GitHub Container Registry (ghcr.io) (#96)jannfis
* feat: Support for GitHub Container Registry (ghcr.io) * We now have 5 default registries instead of 4 * Add ghcr to allowed words for spelling
2020-09-25fix: Tag sort mode for custom registries aren't honored (#93)jannfis
2020-09-24feat: Allow configuration of default namespace for registries (#91)jannfis
* feat: Allow configuration of default namespace for registries * Include defaultns
2020-09-22fix: Make insecure registry connection work (#89)jannfis
2020-09-22feat: Allow insecure TLS connections to registries (#87)jannfis
2020-08-27feat: Warm-up image cache on startup (#77)jannfis
* enhancement: Warm up cache before starting update cycle * fix typos * More typos
2020-08-16fix: Correctly load registry configuration and handle errors (#56)jannfis
2020-08-15feat: Support for GitHub Docker Registry (#55)jannfis
* feat: Support GitHub container registry * Update test * allow some more new words for the spell-checker