Commit Graph

17 Commits

Author SHA1 Message Date
CrazyMax
b2a19c457c move imageDefaults from watch to defaults in config root 2023-09-23 13:49:15 +02:00
CrazyMax
b9615bf2db fix defaults not handled by yaml configuration 2023-09-23 13:49:15 +02:00
Ian Fijolek
60ddac4a59 Global defaults for image configs
Allows setting of image configs at a global level to act as default
values.

This required a change in the model.Image struct due to a bool field not
having a third, unset state. The remedy is to unmarshal into a temporary
data structure to detect the presents of a field value and then use that
to determine if the default value should be used.

Fixes #491
2023-09-12 12:10:10 -07:00
CrazyMax
780f3fb81f runOnStartup watch option 2023-06-12 00:13:18 +02:00
CrazyMax
a12d296e6f Jitter watch option 2022-12-28 14:13:47 +01:00
CrazyMax
072e5d6175 Make scheduler optional (#251)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-01-02 15:54:08 +00:00
CrazyMax
b1953afdae Check digest from HEAD request (#217)
* Check digest from HEAD request
* Add FAQ note about Docker Hub rate limits
* Compare digest as watch setting

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-12 23:00:01 +00:00
CrazyMax
0f17ed12c1 Add support for Healthchecks to monitor Diun watcher (#78) 2020-10-13 20:23:05 +00:00
CrazyMax
7bff860650 Bump v4 2020-06-07 22:04:31 +02:00
CrazyMax
349917e7e4 Configuration transposed into environment variables (#82)
Configuration file not required anymore
DIUN_DB env var renamed DIUN_DB_PATH
Only accept duration as timeout value (10 becomes 10s)
Add getting started doc
Enhanced documentation
Add note about test notifications (#79)
Improve configuration management
Fix telegram init
All fields in configuration now camelCased
Improve configuration validation
Update doc
Update FAQ

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-07 19:58:49 +00:00
CrazyMax
af23c5898c Remove "enable" setting for notifiers 2020-05-26 01:13:06 +02:00
CrazyMax
7a8b4677fc Add option to skip notification at the very first analysis of an image (#10) 2019-12-22 16:32:27 +01:00
CrazyMax
63c90cdc15 Move Os and Arch filter to image 2019-06-30 23:14:49 +02:00
CrazyMax
e2386f0df1 Typo 2019-06-09 19:55:52 +02:00
CrazyMax
4614a7568d Add worker pool to parallelize analyses 2019-06-09 19:43:48 +02:00
CrazyMax
5942e39b83 Allow overriding os and architecture when watching
Move insecure_tls and timeout options to registry option
Rename Bolt bucket
Change default schedule
Review registry client
2019-06-08 02:50:46 +02:00
CrazyMax
8513d49cc9 Initial commit 2019-06-04 22:11:54 +02:00