Commit Graph

7 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
302caf0369 Update nomad provider to use mergo 2023-09-11 16:41:57 -07:00
Ian Fijolek
e7051f2e38 Check Nomad group meta tags
This was intended originally and included in the documentation, but missed in
the implementation.
2023-01-11 15:22:20 -08:00
CrazyMax
073e08ee11 Entry metadata field 2022-12-29 11:15:26 +01: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