From f80eccdfa284153630f4640c08ae0d2db0213f0a Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Wed, 27 Sep 2023 21:33:55 -0700 Subject: [PATCH] Update diun to use global defaults --- services/diun.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/services/diun.tf b/services/diun.tf index c431b6e..0335b14 100644 --- a/services/diun.tf +++ b/services/diun.tf @@ -2,13 +2,16 @@ module "diun" { source = "./service" name = "diun" - image = "crazymax/diun:4.24" + image = "crazymax/diun:4.26" args = ["serve", "--log-level=debug"] env = { DIUN_DB_PATH = "$${NOMAD_TASK_DIR}/diun.db" DIUN_WATCH_SCHEDULE = "0 */6 * * *" DIUN_PROVIDERS_NOMAD_WATCHBYDEFAULT = true + DIUN_DEFAULTS_WATCHREPO = true + DIUN_DEFAULTS_SORTTAGS = "semver" + DIUN_DEFAUTLS_INCLUDETAGS = "^\\d+(\\.\\d+){0,2}$" # Nomad API # TODO: Use socket in $NOMAD_SECRETS_DIR/api.sock when we can assign workload ACLs with Terraform to