Commit Graph

4 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
Ian Fijolek
6318e4f069 Add Nomad provider
I modeled it off the Kubernetes provider a bit. It supports setting task
config at group and task levels using services and meta attributes.
2022-12-27 17:35:27 +01:00