deckhouse / k8s-image-availability-exporter

Alert if an image used in Kubernetes cannot be pulled from container registry
Apache License 2.0
215 stars 26 forks source link

Improvements #48

Closed zuzzas closed 2 years ago

zuzzas commented 2 years ago
  1. Improved lock granularity in image queue, so that Prometheus scrapes won't stall while registry checks are progressing.
  2. Switched to 1.18.
  3. Fixed #43.
  4. Fixed #9.
  5. Configured automatic chart uploads to Flant's Chart Museum.
  6. Made all the linters happy.
codecov[bot] commented 2 years ago

Codecov Report

Merging #48 (5cbbc7d) into master (e5aa2fb) will decrease coverage by 53.16%. The diff coverage is 21.05%.

@@             Coverage Diff             @@
##           master      #48       +/-   ##
===========================================
- Coverage   72.51%   19.35%   -53.17%     
===========================================
  Files           1        5        +4     
  Lines         131      589      +458     
===========================================
+ Hits           95      114       +19     
- Misses         28      467      +439     
  Partials        8        8               
Impacted Files Coverage Δ
pkg/registry_checker/indexers.go 0.00% <0.00%> (ø)
pkg/registry_checker/registry_authn.go 0.00% <0.00%> (ø)
pkg/registry_checker/checker.go 6.66% <13.79%> (ø)
pkg/store/image_store.go 64.70% <66.66%> (-7.82%) :arrow_down:
pkg/registry_checker/image_pull.go 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5a260d0...5cbbc7d. Read the comment docs.